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 listApr 23, 2025 19:43vahookvahookScore: 4,181Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 19:434,13936,172,60113,246,00002,494,464
2Apr 23, 2025 19:434,14331,762,31113,257,00002,490,368
3Apr 23, 2025 19:434,16628,486,74413,332,00002,273,280
4Apr 23, 2025 19:434,18129,839,51313,378,00002,273,280
5Apr 23, 2025 19:434,20725,879,47513,461,00002,494,464
6Apr 23, 2025 19:434,21338,154,50613,480,00002,490,368