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 12:32FrederickFrederickScore: 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 12:334,2106,022,502,36113,475,00002,113,536
2Oct 5, 2026 12:334,2176,022,581,35913,495,00002,113,536
3Oct 5, 2026 12:334,2186,022,336,39913,498,00002,113,536
4Oct 5, 2026 12:334,2206,022,591,67713,505,00002,113,536
5Oct 5, 2026 12:334,2216,022,326,39313,508,00002,113,536
6Oct 5, 2026 12:334,2226,022,459,30913,513,00002,113,536
7Oct 5, 2026 12:334,2316,022,460,66613,542,00002,113,536
8Oct 5, 2026 12:334,2386,023,176,05213,562,00002,113,536
9Oct 5, 2026 12:334,2456,022,518,59013,586,00002,113,536