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 17:29IlyaIlyaScore: 4,259Success
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 17:294,23422,863,70312,546,0001,005,0002,113,536
2Jul 2, 2026 17:294,24522,942,13212,580,0001,007,0002,113,536
3Jul 2, 2026 17:294,25222,903,61912,573,0001,034,0002,113,536
4Jul 2, 2026 17:294,25522,964,73412,567,0001,049,0002,113,536
5Jul 2, 2026 17:294,25922,946,34512,565,0001,064,0002,113,536
6Jul 2, 2026 17:294,26622,925,29912,583,0001,071,0002,113,536
7Jul 2, 2026 17:294,26723,002,39512,596,0001,061,0002,113,536
8Jul 2, 2026 17:294,27323,090,93612,596,0001,078,0002,113,536
9Jul 2, 2026 17:294,27722,998,63312,616,0001,072,0002,113,536