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 18:13zielajzielajScore: 370,667Success
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 18:13369,2981,210,339,0581,181,752,00002,494,464
2Apr 25, 2025 20:21370,0391,206,770,7151,182,131,0001,995,0002,498,560
3Apr 25, 2025 20:21370,5771,215,383,3331,185,845,00002,486,272
4Apr 25, 2025 18:13370,6671,212,386,5911,185,136,000997,0002,265,088
5Apr 25, 2025 20:21371,0271,212,848,7601,187,287,00002,486,272
6Apr 25, 2025 18:13371,1851,214,580,3801,187,791,00002,498,560