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 17:24FrederickFrederickScore: 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 17:294,2106,022,539,86013,472,00002,117,632stderr
2Oct 5, 2026 17:294,2136,022,531,98713,482,00002,117,632stderr
3Oct 5, 2026 17:294,2156,022,463,78013,490,00002,117,632stderr
4Oct 5, 2026 17:294,2176,022,536,31013,496,00002,117,632stderr
5Oct 5, 2026 17:294,2226,022,615,51013,512,00002,117,632stderr
6Oct 5, 2026 17:294,2226,022,339,83413,513,00002,117,632stderr
7Oct 5, 2026 17:294,2336,022,609,84613,547,00002,117,632stderr
8Oct 5, 2026 17:294,2496,022,600,21913,598,00002,117,632stderr
9Oct 5, 2026 17:294,2546,022,374,10013,614,00002,117,632stderr