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 09:42Victor MerckléVictor MerckléScore: 4,130Success
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 09:424,05921,301,96912,990,000024,576stderr
2Sep 1, 2026 09:424,10721,433,26613,143,000024,576stderr
3Sep 1, 2026 09:424,11221,455,84913,161,000024,576stderr
4Sep 1, 2026 09:424,12721,508,81013,207,000024,576stderr
5Sep 1, 2026 09:424,13021,576,99413,218,000024,576stderr
6Sep 1, 2026 09:424,13121,487,25213,222,000024,576stderr
7Sep 1, 2026 09:424,13421,489,03813,230,000024,576stderr
8Sep 1, 2026 09:424,13921,601,54413,247,000024,576stderr
9Sep 1, 2026 09:424,15321,680,38413,291,000024,576stderr