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 listJul 28, 2024 13:01BenBenScore: 4,549Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 13:014,52638,116,08014,482,00002,265,088
2Jul 28, 2024 13:014,53536,036,49413,476,0001,036,0002,265,088
3Jul 28, 2024 13:014,53840,896,67714,522,00002,265,088
4Jul 28, 2024 13:014,53830,369,90313,486,0001,037,0002,392,064
5Jul 28, 2024 13:014,54032,753,52214,529,00002,265,088
6Jul 28, 2024 13:014,54736,660,91514,549,00002,265,088
7Jul 28, 2024 13:014,54935,293,29414,558,00002,265,088
8Jul 28, 2024 13:014,55629,750,90413,539,0001,041,0002,387,968
9Jul 28, 2024 13:014,57140,267,79413,584,0001,044,0002,387,968
10Jul 28, 2024 13:014,79286,053,10215,332,97802,293,760
11Jul 28, 2024 13:014,79485,767,97515,341,32202,277,376
12Jul 28, 2024 13:014,81794,505,75815,413,00202,293,760