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 listSep 20, 2026 16:58C21C21Score: 5,950Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2026 16:585,91729,448,97217,873,0001,062,0002,113,536
2Sep 20, 2026 16:585,93029,392,23717,661,0001,317,0002,113,536
3Sep 20, 2026 16:585,93129,423,93817,655,0001,326,0002,113,536
4Sep 20, 2026 16:585,94729,514,98417,701,0001,330,0002,113,536
5Sep 20, 2026 16:585,95029,462,64417,722,0001,321,0002,113,536
6Sep 20, 2026 16:585,95130,202,97417,718,0001,326,0002,113,536
7Sep 20, 2026 16:585,96929,486,75717,766,0001,337,0002,113,536
8Sep 20, 2026 16:585,97530,244,32517,826,0001,295,0002,113,536
9Sep 20, 2026 16:585,97830,307,84517,840,0001,292,0002,113,536