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 listApr 13, 2026 16:58Oleg SkinderevOleg SkinderevScore: 5,180Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 16:585,13731,834,54614,383,0002,054,0002,392,064
2Apr 13, 2026 16:525,13742,689,48216,437,00002,387,968
3Apr 13, 2026 16:585,13933,456,29415,419,0001,027,0002,519,040
4Apr 13, 2026 16:535,14050,188,79315,421,0001,028,0002,519,040
5Apr 13, 2026 16:535,14633,691,53316,466,00002,392,064
6Apr 13, 2026 16:585,14734,930,14515,440,0001,029,0002,519,040
7Apr 13, 2026 16:585,15046,967,42115,450,0001,030,0002,392,064
8Apr 13, 2026 16:535,15339,411,20815,461,0001,030,0002,519,040
9Apr 13, 2026 16:525,15436,230,08116,494,00002,383,872
10Apr 13, 2026 16:525,15436,543,07116,494,00002,510,848
11Apr 13, 2026 16:525,15634,097,81615,467,0001,031,0002,519,040
12Apr 13, 2026 16:535,16243,607,70715,487,0001,032,0002,392,064
13Apr 13, 2026 16:525,16835,451,54516,539,00002,387,968
14Apr 13, 2026 16:535,18041,736,84615,540,0001,036,0002,379,776
15Apr 13, 2026 16:525,18137,312,90415,542,0001,036,0002,523,136
16Apr 13, 2026 16:585,18136,537,60414,508,0002,072,0002,510,848
17Apr 13, 2026 16:585,18437,980,39213,478,0003,110,0002,510,848
18Apr 13, 2026 16:585,18536,009,94115,555,0001,037,0002,510,848
19Apr 13, 2026 16:535,18633,636,82714,520,0002,074,0002,510,848
20Apr 13, 2026 16:535,18640,599,20814,520,0002,074,0002,510,848
21Apr 13, 2026 16:535,18632,155,35715,559,0001,037,0002,383,872
22Apr 13, 2026 16:585,18635,389,96815,557,0001,037,0002,519,040
23Apr 13, 2026 16:525,18943,069,43415,567,0001,037,0002,392,064
24Apr 13, 2026 16:525,19235,415,03316,613,00002,519,040
25Apr 13, 2026 16:535,19338,198,30416,616,00002,383,872
26Apr 13, 2026 16:525,21043,653,73516,671,00002,519,040
27Apr 13, 2026 16:585,37845,749,69115,184,0002,024,0002,519,040