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 listMay 2, 2025 21:50zielajzielajScore: 367,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 2, 2025 21:56366,6641,198,038,7051,173,324,00002,527,232
2May 2, 2025 21:56367,3861,201,341,4741,175,636,00002,527,232
3May 2, 2025 21:50367,5451,204,116,5701,176,143,00002,527,232
4May 2, 2025 21:56367,5511,204,299,4451,175,167,000997,0002,527,232
5May 2, 2025 21:50367,8141,202,748,5161,177,005,00002,527,232
6May 2, 2025 21:50368,2091,206,124,2211,177,273,000997,0002,498,560