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 listMar 4, 2026 12:59DanielDanielScore: 5,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 12:595,33239,722,16915,054,0002,007,0002,375,680
2Mar 4, 2026 12:595,33648,950,83015,067,0002,009,0002,359,296
3Mar 4, 2026 12:595,33643,353,65216,072,0001,004,0002,363,392
4Mar 4, 2026 12:595,34337,291,08015,086,0002,011,0002,293,760
5Mar 4, 2026 12:595,35334,601,41815,115,0002,015,0002,293,760
6Mar 4, 2026 12:595,36034,965,83416,143,0001,008,0002,355,200
7Mar 4, 2026 12:595,36440,440,39515,145,0002,019,0002,355,200
8Mar 4, 2026 12:595,37035,082,32615,162,0002,021,0002,367,488
9Mar 4, 2026 12:595,37337,521,27515,171,0002,022,0002,465,792