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 3, 2026 18:52Victor MerckléVictor MerckléScore: 5,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2026 18:524,96624,168,26012,585,0003,308,00024,576stderr
2Sep 3, 2026 18:524,97124,230,76712,568,0003,342,00024,576stderr
3Sep 3, 2026 18:524,97224,275,05812,660,0003,251,00024,576stderr
4Sep 3, 2026 18:524,98524,305,91912,623,0003,330,00024,576stderr
5Sep 3, 2026 18:525,02024,313,27512,800,0003,265,00024,576stderr
6Sep 3, 2026 18:525,04424,316,74912,821,0003,322,00024,576stderr
7Sep 3, 2026 18:525,04824,476,59812,818,0003,337,00024,576stderr
8Sep 3, 2026 18:525,05624,322,41912,900,0003,282,00024,576stderr
9Sep 3, 2026 18:525,07024,485,45312,942,0003,285,00024,576stderr