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 26, 2025 20:21zielajzielajScore: 370,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:22367,8111,205,213,7751,175,997,000997,0002,265,088
2Apr 26, 2025 20:22367,8861,202,167,9251,175,240,0001,995,0002,498,560
3Apr 26, 2025 20:21369,7041,206,695,6021,182,056,000997,0002,498,560
4Apr 26, 2025 20:21370,6771,214,587,5831,185,170,000997,0002,527,232
5Apr 26, 2025 20:21370,7271,209,721,5421,186,326,00002,265,088
6Apr 26, 2025 20:22371,4811,214,657,3571,188,739,00002,265,088