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 listMay 18, 2026 17:31M-RochatM-RochatScore: 4,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2026 17:314,38725,881,04014,040,00002,113,536
2May 18, 2026 17:314,39024,111,77714,051,00002,113,536
3May 18, 2026 17:314,40024,997,91413,058,0001,022,0002,113,536
4May 18, 2026 17:314,41025,049,30113,093,0001,021,0002,113,536
5May 18, 2026 17:314,41023,886,29613,092,0001,020,0002,113,536
6May 18, 2026 17:314,41224,125,22314,119,00002,113,536
7May 18, 2026 17:314,41925,090,97013,138,0001,004,0002,113,536
8May 18, 2026 17:314,42925,137,07913,145,0001,030,0002,113,536
9May 18, 2026 17:314,68626,841,46513,938,0001,059,0002,113,536