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 11:37FrederickFrederickScore: 4,221Success
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 11:384,1963,022,530,30213,429,00002,113,536
2Oct 5, 2026 11:384,2073,022,492,36813,465,00002,113,536
3Oct 5, 2026 11:384,2143,022,432,40413,485,00002,113,536
4Oct 5, 2026 11:384,2153,022,468,33513,491,00002,113,536
5Oct 5, 2026 11:384,2213,022,470,68913,510,00002,113,536
6Oct 5, 2026 11:384,2253,022,496,65713,522,00002,113,536
7Oct 5, 2026 11:384,2273,023,866,92313,527,00002,113,536
8Oct 5, 2026 11:384,2333,022,363,34413,547,00002,113,536
9Oct 5, 2026 11:384,2373,022,310,49213,561,00002,113,536