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 07:51BenBenScore: 4,648Success
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 07:514,59231,797,66913,646,0001,049,0002,392,064
2Jul 28, 2024 07:514,59729,684,55413,661,0001,050,0002,527,232
3Jul 28, 2024 07:514,60440,527,91013,682,0001,052,0002,265,088
4Jul 28, 2024 07:514,64341,442,90613,868,000990,0002,265,088
5Jul 28, 2024 07:514,64846,298,26813,881,000991,0002,392,064
6Jul 28, 2024 07:514,64832,496,62714,873,00002,392,064
7Jul 28, 2024 07:514,64833,170,39414,875,00002,265,088
8Jul 28, 2024 07:514,65036,257,01113,888,000992,0002,265,088
9Jul 28, 2024 07:514,66635,058,96113,935,000995,0002,265,088
10Jul 28, 2024 07:514,82978,178,97115,452,63802,289,664
11Jul 28, 2024 07:514,859103,709,31315,548,84602,289,664
12Jul 28, 2024 07:514,88685,521,01515,633,73602,293,760