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 21, 2026 19:16JhnWJhnWScore: 5,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2026 19:165,11025,940,08115,345,0001,007,0002,113,536
2Jul 21, 2026 19:165,11325,994,16015,340,0001,022,0002,113,536
3Jul 21, 2026 19:165,12726,066,82115,399,0001,009,0002,113,536
4Jul 21, 2026 19:165,12930,223,34915,380,0001,034,0002,113,536
5Jul 21, 2026 19:165,13626,074,84615,385,0001,053,0002,113,536
6Jul 21, 2026 19:165,14826,081,35115,442,0001,032,0002,113,536
7Jul 21, 2026 19:165,15026,029,47415,474,0001,006,0002,113,536
8Jul 21, 2026 19:165,16826,227,12715,468,0001,070,0002,113,536
9Jul 21, 2026 19:165,18127,626,65215,494,0001,088,0002,113,536