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 listOct 5, 2026 18:24FrederickFrederickScore: 4,220Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:264,1936,022,470,78413,419,00002,113,536
2Oct 5, 2026 18:264,2116,022,395,51813,476,00002,113,536
3Oct 5, 2026 18:264,2156,022,481,59413,491,00002,113,536
4Oct 5, 2026 18:264,2166,022,568,64113,494,00002,113,536
5Oct 5, 2026 18:264,2206,022,533,83713,504,00002,113,536
6Oct 5, 2026 18:264,2206,024,007,31513,507,00002,113,536
7Oct 5, 2026 18:266,0906,030,059,93112,837,0006,654,0002,113,536
8Oct 5, 2026 18:267,2376,032,125,14613,463,0009,697,0002,113,536
9Oct 5, 2026 18:267,2526,032,252,59813,525,0009,682,0002,113,536