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:20FrederickFrederickScore: 4,238Success
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:214,2346,022,671,13513,550,00002,113,536
2Oct 5, 2026 11:214,2356,023,158,33413,552,00002,113,536
3Oct 5, 2026 11:214,2366,023,284,95613,556,00002,113,536
4Oct 5, 2026 11:214,2366,022,660,78413,556,00002,113,536
5Oct 5, 2026 11:214,2386,022,837,83413,562,00002,113,536
6Oct 5, 2026 11:214,2456,022,763,84413,586,00002,113,536
7Oct 5, 2026 11:214,2496,022,822,57713,597,00002,113,536
8Oct 5, 2026 11:214,2506,022,802,48013,601,00002,113,536
9Oct 5, 2026 11:214,2536,023,294,10913,612,00002,113,536