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 listMar 25, 2025 10:34parastromparastromScore: 5,795Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 10:345,77842,292,70417,462,0001,027,0002,367,488
2Mar 25, 2025 10:345,78137,212,62617,473,0001,027,0002,289,664
3Mar 25, 2025 10:345,78640,354,37918,515,00002,359,296
4Mar 25, 2025 10:345,79038,637,46817,500,0001,029,0002,367,488
5Mar 25, 2025 10:345,79544,636,54917,514,0001,030,0002,289,664
6Mar 25, 2025 10:345,80143,104,02817,531,0001,031,0002,371,584
7Mar 25, 2025 10:345,81144,134,07417,563,0001,033,0002,363,392
8Mar 25, 2025 10:345,81644,348,62718,611,00002,289,664
9Mar 25, 2025 10:345,81848,554,36817,584,0001,034,0002,289,664