Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 22, 2021 22:46Andrey TsvetkovAndrey TsvetkovScore: 5,694Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2021 22:465,64644,231,86415,055,0003,011,0002,527,232
2Jun 22, 2021 22:465,65339,632,38516,079,0002,009,0002,334,720
3Jun 22, 2021 22:465,67147,075,30216,131,0002,016,0002,387,968
4Jun 22, 2021 22:465,67241,765,93816,134,0002,016,0002,334,720
5Jun 22, 2021 22:465,67345,264,93016,138,0002,017,0002,334,720
6Jun 22, 2021 22:465,67344,944,57516,136,0002,017,0002,523,136
7Jun 22, 2021 22:465,67442,753,42917,088,0001,068,0002,334,720
8Jun 22, 2021 22:465,67943,611,59015,145,0003,029,0002,334,720
9Jun 22, 2021 22:465,68338,380,66615,155,0003,031,0002,334,720
10Jun 22, 2021 22:465,68545,102,15416,171,0002,021,0002,326,528
11Jun 22, 2021 22:465,69335,786,92815,181,0003,036,0002,375,680
12Jun 22, 2021 22:465,69335,028,02715,180,0003,036,0002,363,392
13Jun 22, 2021 22:465,69444,206,49415,184,0003,036,0002,519,040
14Jun 22, 2021 22:465,70542,026,85516,227,0002,028,0002,334,720
15Jun 22, 2021 22:465,71341,538,24216,251,0002,031,0002,519,040
16Jun 22, 2021 22:465,71737,592,39915,246,0003,049,0002,531,328
17Jun 22, 2021 22:465,72073,215,53018,303,52002,244,608
18Jun 22, 2021 22:465,72436,841,76617,299,0001,017,0002,523,136
19Jun 22, 2021 22:465,73541,163,67715,294,0003,058,0002,334,720
20Jun 22, 2021 22:465,73565,585,46118,351,06202,240,512
21Jun 22, 2021 22:465,74656,683,92518,387,81202,244,608
22Jun 22, 2021 22:465,74760,527,96118,390,64602,232,320
23Jun 22, 2021 22:465,82192,485,67118,628,04402,228,224
24Jun 22, 2021 22:465,90688,218,03318,897,88402,228,224