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 16:03Victor MerckléVictor MerckléScore: 4,143Success
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 16:034,06321,690,70613,003,00002,117,632stderr
2Sep 14, 2026 16:034,06521,659,36813,011,00002,117,632stderr
3Sep 14, 2026 16:034,07521,744,50913,041,00002,117,632stderr
4Sep 14, 2026 16:034,12423,288,73913,199,00002,117,632stderr
5Sep 14, 2026 16:034,14321,678,26413,259,00002,117,632stderr
6Sep 14, 2026 16:034,15221,938,77613,289,00002,117,632stderr
7Sep 14, 2026 16:034,18522,073,23213,392,00002,117,632stderr
8Sep 14, 2026 16:034,18522,771,06713,394,00002,117,632stderr
9Sep 14, 2026 16:034,19022,816,89913,410,00002,117,632stderr