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 2, 2026 22:57IlyaIlyaScore: 4,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 22:574,20522,702,97413,459,00002,113,536
2Jul 2, 2026 22:574,21222,823,59612,464,0001,017,0002,113,536
3Jul 2, 2026 22:574,21322,798,25512,455,0001,027,0002,113,536
4Jul 2, 2026 22:574,21424,112,41212,458,0001,027,0002,113,536
5Jul 2, 2026 22:574,22122,796,08812,492,0001,016,0002,113,536
6Jul 2, 2026 22:574,23122,918,16012,537,0001,004,0002,113,536
7Jul 2, 2026 22:574,23622,866,82712,522,0001,034,0002,113,536
8Jul 2, 2026 22:574,24622,910,80012,532,0001,056,0002,113,536
9Jul 2, 2026 22:574,29523,040,90412,674,0001,072,0002,113,536