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 19:11FrederickFrederickScore: 8,206Success
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 19:137,9276,034,399,12513,239,00012,128,0002,113,536
2Oct 5, 2026 19:137,9756,034,498,99113,495,00012,026,00020,480
3Oct 5, 2026 19:138,0226,034,674,01613,464,00012,207,0002,113,536
4Oct 5, 2026 19:138,0416,034,661,13613,296,00012,436,0002,113,536
5Oct 5, 2026 19:138,2066,035,300,53513,540,00012,722,00020,480
6Oct 5, 2026 19:138,4926,036,213,61713,522,00013,653,0002,113,536
7Oct 5, 2026 19:138,6916,036,796,19814,987,00012,827,0002,113,536
8Oct 5, 2026 19:138,8716,037,454,71313,850,00014,539,00024,576
9Oct 5, 2026 19:138,9356,037,572,81413,806,00014,788,00020,480