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 21, 2025 23:00vahookvahookScore: 4,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 22:594,27830,951,52413,691,00002,494,464
2Apr 21, 2025 22:594,29334,201,30413,738,00002,273,280
3Apr 21, 2025 22:594,32641,818,55212,855,000988,0002,273,280
4Apr 21, 2025 23:004,39732,083,59613,065,0001,005,0002,494,464
5Apr 21, 2025 23:004,42028,114,09713,134,0001,010,0002,269,184
6Apr 21, 2025 23:004,45432,912,66014,253,00002,498,560