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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2026 14:094,27522,405,59712,621,0001,059,00024,576stderr
2Sep 14, 2026 14:094,28023,041,99712,629,0001,070,00024,576stderr
3Sep 14, 2026 14:094,28222,398,14612,655,0001,050,00024,576stderr
4Sep 14, 2026 14:094,28322,414,72312,640,0001,066,00024,576stderr
5Sep 14, 2026 14:094,28622,430,66212,668,0001,050,00024,576stderr
6Sep 14, 2026 14:094,29022,491,21912,674,0001,057,00024,576stderr
7Sep 14, 2026 14:094,29322,452,31512,670,0001,069,00024,576stderr
8Sep 14, 2026 14:094,29522,429,21112,684,0001,061,00024,576stderr
9Sep 14, 2026 14:094,30623,607,33312,683,0001,097,00024,576stderr