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 listJul 7, 2026 13:46Victor MerckléVictor MerckléScore: 4,112Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 13:464,10121,127,32713,125,000024,576stderr
2Jul 7, 2026 13:464,10521,158,76213,136,000024,576stderr
3Jul 7, 2026 13:464,10821,189,31013,148,000024,576stderr
4Jul 7, 2026 13:464,10921,089,53413,149,000024,576stderr
5Jul 7, 2026 13:464,11221,228,31813,159,000024,576stderr
6Jul 7, 2026 13:464,11321,227,43513,164,000024,576stderr
7Jul 7, 2026 13:464,11321,146,63213,163,000024,576stderr
8Jul 7, 2026 13:464,11721,172,42913,175,000024,576stderr
9Jul 7, 2026 13:464,13624,438,49813,238,000024,576stderr