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 15, 2026 21:21izotoffizotoffScore: 5,924Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:295,87129,579,65517,698,0001,092,0002,138,112
2Oct 15, 2026 21:295,88730,347,68517,748,0001,092,0002,138,112
3Oct 15, 2026 21:295,89430,636,57817,757,0001,105,0002,138,112
4Oct 15, 2026 21:295,91030,777,09517,805,0001,110,0002,138,112
5Oct 15, 2026 21:295,92430,387,99817,853,0001,104,0002,138,112
6Oct 15, 2026 21:295,93730,395,83417,896,0001,105,00045,056
7Oct 15, 2026 21:295,93831,044,06717,904,0001,099,0002,138,112
8Oct 15, 2026 21:296,05431,470,15017,129,0002,244,0002,138,112
9Oct 15, 2026 21:296,08531,304,52217,265,0002,210,0002,138,112