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 listJun 1, 2026 14:22IlyaIlyaScore: 5,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2026 14:225,07625,153,96615,239,0001,005,0002,113,536
2Jun 1, 2026 14:225,07925,210,52616,253,00002,113,536
3Jun 1, 2026 14:225,09025,188,44115,278,0001,011,0002,113,536
4Jun 1, 2026 14:225,10025,194,29515,317,0001,003,0002,113,536
5Jun 1, 2026 14:225,10425,376,28615,326,0001,007,0002,113,536
6Jun 1, 2026 14:225,10725,262,05315,322,0001,022,0002,113,536
7Jun 1, 2026 14:225,11325,351,41215,329,0001,035,0002,113,536
8Jun 1, 2026 14:225,11525,336,34215,293,0001,076,0002,113,536
9Jun 1, 2026 14:225,13225,769,21515,342,0001,081,0002,113,536