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 17:50M-RochatM-RochatScore: 5,075Success
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:505,04326,084,71216,140,00002,113,536
2May 16, 2026 17:505,05924,954,14616,190,00002,113,536
3May 16, 2026 17:505,06827,965,81215,199,0001,019,0002,113,536
4May 16, 2026 17:505,07128,586,84615,195,0001,033,0002,113,536
5May 16, 2026 17:505,07525,160,63316,243,00002,113,536
6May 16, 2026 17:505,07628,267,69715,234,0001,011,0002,113,536
7May 16, 2026 17:505,07625,745,63915,239,0001,005,0002,113,536
8May 16, 2026 17:505,07826,683,29016,252,00002,113,536
9May 16, 2026 17:505,09226,867,24815,274,0001,021,0002,113,536