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 2, 2026 00:56Victor MerckléVictor MerckléScore: 4,125Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 00:574,03621,261,55912,918,000024,576stderr
2Sep 2, 2026 00:574,07921,197,21013,055,000024,576stderr
3Sep 2, 2026 00:574,09521,250,36613,106,000024,576stderr
4Sep 2, 2026 00:574,09621,278,77713,108,000024,576stderr
5Sep 2, 2026 00:574,12521,527,94013,200,000024,576stderr
6Sep 2, 2026 00:574,12821,418,07913,211,000024,576stderr
7Sep 2, 2026 00:574,13421,353,43613,231,000024,576stderr
8Sep 2, 2026 00:574,13821,370,88813,242,000024,576stderr
9Sep 2, 2026 00:574,13921,588,13713,246,000024,576stderr