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 10, 2026 19:39Pavel SkripkinPavel SkripkinScore: 5,630Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 19:395,61644,763,94515,975,0001,996,0002,281,472
2Apr 10, 2026 19:395,62447,001,79615,997,0001,999,0002,281,472
3Apr 10, 2026 19:395,62539,465,03616,000,0002,000,0002,433,024
4Apr 10, 2026 19:395,62836,107,17916,009,0002,001,0002,428,928
5Apr 10, 2026 19:395,63041,142,79517,016,0001,000,0002,281,472
6Apr 10, 2026 19:395,64337,353,35216,051,0002,006,0002,437,120
7Apr 10, 2026 19:395,65343,612,02417,086,0001,005,0002,433,024
8Apr 10, 2026 19:395,65637,179,61816,089,0002,011,0002,514,944
9Apr 10, 2026 19:395,66245,817,74116,106,0002,013,0002,424,832