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 16, 2026 18:33Victor MerckléVictor MerckléScore: 4,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 16, 2026 18:334,00021,854,76212,802,000024,576stderr
2Sep 16, 2026 18:334,00221,516,94312,808,000024,576stderr
3Sep 16, 2026 18:334,01121,517,25112,838,000024,576stderr
4Sep 16, 2026 18:334,02521,564,22812,882,000024,576stderr
5Sep 16, 2026 18:334,03721,648,57612,921,000024,576stderr
6Sep 16, 2026 18:334,06221,686,59113,000,000024,576stderr
7Sep 16, 2026 18:334,06321,730,08113,004,000024,576stderr
8Sep 16, 2026 18:334,10321,902,69313,131,000024,576stderr
9Sep 16, 2026 18:334,12021,926,82613,186,000024,576stderr