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:26Victor MerckléVictor MerckléScore: 4,096Success
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:274,08722,037,70513,080,000024,576stderr
2Sep 3, 2026 18:274,08821,466,27913,083,000024,576stderr
3Sep 3, 2026 18:274,09121,317,15713,094,000024,576stderr
4Sep 3, 2026 18:274,09322,004,99213,100,000024,576stderr
5Sep 3, 2026 18:274,09622,866,36213,110,000024,576stderr
6Sep 3, 2026 18:274,09721,533,27413,113,000024,576stderr
7Sep 3, 2026 18:274,10021,862,59413,120,000024,576stderr
8Sep 3, 2026 18:274,35422,210,67113,935,000024,576stderr
9Sep 3, 2026 18:274,36222,360,65713,960,000024,576stderr