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:36FrederickFrederickScore: 4,370Success
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:364,3503,022,901,15212,902,0001,018,0002,113,536
2Oct 5, 2026 11:364,3553,022,929,78812,927,0001,011,0002,113,536
3Oct 5, 2026 11:364,3573,024,230,80412,899,0001,045,0002,113,536
4Oct 5, 2026 11:364,3623,022,892,51312,904,0001,057,0002,113,536
5Oct 5, 2026 11:364,3703,022,955,46912,966,0001,020,0002,113,536
6Oct 5, 2026 11:364,3733,022,925,69412,971,0001,025,0002,113,536
7Oct 5, 2026 11:364,3803,022,977,18012,999,0001,018,0002,113,536
8Oct 5, 2026 11:364,3843,023,078,82113,001,0001,028,0002,113,536
9Oct 5, 2026 11:364,3883,023,494,02913,016,0001,027,0002,113,536