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 04:06FrederickFrederickScore: 4,222Success
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 04:074,2082,022,440,28013,467,00002,113,536
2Oct 5, 2026 04:074,2122,022,439,09713,479,00002,113,536
3Oct 5, 2026 04:074,2192,022,431,29913,502,00002,113,536
4Oct 5, 2026 04:074,2212,022,455,61213,509,00002,113,536
5Oct 5, 2026 04:074,2222,023,929,82213,513,00002,113,536
6Oct 5, 2026 04:074,2272,022,292,93113,529,00002,113,536
7Oct 5, 2026 04:074,2322,022,506,42813,543,00002,113,536
8Oct 5, 2026 04:074,2572,022,647,67312,589,0001,036,0002,113,536
9Oct 5, 2026 04:074,3012,022,646,86712,728,0001,037,0002,113,536