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 14, 2026 14:34Victor MerckléVictor MerckléScore: 4,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2026 14:344,07121,716,15413,028,00002,117,632stderr
2Sep 14, 2026 14:344,07821,806,99013,050,00002,117,632stderr
3Sep 14, 2026 14:344,09321,833,06813,099,00002,117,632stderr
4Sep 14, 2026 14:344,10321,838,24613,132,00002,117,632stderr
5Sep 14, 2026 14:344,13621,987,09213,236,00002,117,632stderr
6Sep 14, 2026 14:344,15521,993,19513,299,00002,117,632stderr
7Sep 14, 2026 14:344,15722,032,88213,304,00002,117,632stderr
8Sep 14, 2026 14:344,16021,978,07313,312,00002,117,632stderr
9Sep 14, 2026 14:344,18022,082,10313,379,00002,117,632stderr