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:33FrederickFrederickScore: 4,236Success
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:344,2303,022,985,52413,539,00002,113,536
2Oct 5, 2026 11:344,2343,022,513,00613,551,00002,113,536
3Oct 5, 2026 11:344,2353,022,504,50813,555,00002,113,536
4Oct 5, 2026 11:344,2363,022,724,02113,558,00002,113,536
5Oct 5, 2026 11:344,2363,022,391,05613,558,00002,113,536
6Oct 5, 2026 11:344,2443,022,636,08313,581,00002,113,536
7Oct 5, 2026 11:344,2463,022,773,27913,589,00002,113,536
8Oct 5, 2026 11:344,2473,022,570,35013,591,00002,113,536
9Oct 5, 2026 11:344,2673,022,589,65413,655,00002,113,536