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 1, 2026 10:48Victor MerckléVictor MerckléScore: 4,110Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 10:494,03721,130,36412,919,000024,576stderr
2Sep 1, 2026 10:494,04521,101,02012,946,000024,576stderr
3Sep 1, 2026 10:494,06821,196,38513,019,000024,576stderr
4Sep 1, 2026 10:494,07821,195,08013,052,000024,576stderr
5Sep 1, 2026 10:494,11021,493,17813,154,000024,576stderr
6Sep 1, 2026 10:494,11823,008,48513,179,000024,576stderr
7Sep 1, 2026 10:494,13321,380,32613,228,000024,576stderr
8Sep 1, 2026 10:494,13621,328,43813,236,000024,576stderr
9Sep 1, 2026 10:494,15021,442,72813,280,000024,576stderr