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 17, 2026 15:09Victor MerckléVictor MerckléScore: 4,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2026 15:104,24322,346,13512,542,0001,036,00028,672stderr
2Sep 17, 2026 15:104,25022,276,12612,553,0001,050,00024,576stderr
3Sep 17, 2026 15:104,25522,192,27112,569,0001,050,00024,576stderr
4Sep 17, 2026 15:104,26322,152,68312,571,0001,071,00024,576stderr
5Sep 17, 2026 15:104,27622,351,16712,638,0001,046,00024,576stderr
6Sep 17, 2026 15:104,28322,233,21712,624,0001,082,00024,576stderr
7Sep 17, 2026 15:104,28322,382,51912,661,0001,045,00024,576stderr
8Sep 17, 2026 15:104,28622,588,03812,666,0001,052,00024,576stderr
9Sep 17, 2026 15:104,28922,203,56312,661,0001,065,00024,576stderr