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 25, 2025 20:45zielajzielajScore: 367,828Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 20:45367,3461,197,596,8191,175,507,00002,265,088
2Apr 25, 2025 20:45367,8281,203,907,2961,176,052,000997,0002,265,088
3Apr 25, 2025 20:45368,7361,212,433,6641,179,956,00002,490,368