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, 2026 20:57BenBenScore: 17,048Success
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, 2026 20:5716,90371,906,76016,027,00038,065,0002,359,296
2Apr 21, 2026 20:5716,92873,603,26317,053,00037,117,0002,351,104
3Apr 21, 2026 20:5716,99873,869,49616,117,00038,278,0002,412,544
4Apr 21, 2026 20:5717,04872,000,37516,164,00038,391,0002,502,656
5Apr 21, 2026 20:5717,04872,169,09716,164,00038,390,0002,445,312
6Apr 21, 2026 20:5717,16972,531,25615,983,00038,958,0002,355,200
7Apr 21, 2026 20:5717,33271,379,47616,135,00039,329,0002,359,296
8Apr 21, 2026 20:5717,67972,166,42118,185,00038,390,0002,342,912
9Apr 21, 2026 20:5717,75876,167,72616,948,00039,878,0002,351,104