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 16, 2026 16:49M-RochatM-RochatScore: 5,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 17:005,02825,734,28716,091,00002,113,536
2May 16, 2026 17:005,05526,711,30916,178,00002,113,536
3May 16, 2026 17:005,05926,951,10016,191,00002,113,536
4May 16, 2026 17:005,06927,483,03215,214,0001,009,0002,113,536
5May 16, 2026 17:005,06926,847,21116,223,00002,113,536
6May 16, 2026 17:005,07426,648,10116,238,00002,113,536
7May 16, 2026 17:005,07527,242,04516,241,00002,113,536
8May 16, 2026 17:005,08826,714,43215,247,0001,037,0002,113,536
9May 16, 2026 17:005,09825,019,70615,302,0001,014,0002,113,536