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 28, 2025 22:39zielajzielajScore: 375,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 22:39374,8581,231,392,6241,199,545,00002,490,368
2Apr 28, 2025 22:39375,5481,228,985,4001,199,761,0001,994,0002,494,464
3Apr 28, 2025 22:39375,7261,226,826,6261,202,324,00002,265,088