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 13:55zielajzielajScore: 367,927Success
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 13:55367,8301,201,343,0231,176,058,000997,0002,490,368
2Apr 25, 2025 13:55367,9271,202,945,0531,175,370,0001,995,0002,494,464
3Apr 25, 2025 13:55368,3191,205,498,5241,178,620,00002,498,560