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 29, 2026 20:12C21C21Score: 5,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 20:134,92126,696,50114,730,0001,020,0002,113,536
2Oct 29, 2026 20:134,97827,358,33314,824,0001,108,0002,113,536
3Oct 29, 2026 20:135,02428,364,37715,044,0001,034,0002,113,536
4Oct 29, 2026 20:135,03027,023,42615,063,0001,033,0002,113,536
5Oct 29, 2026 20:135,03327,021,38015,074,0001,034,0002,113,536
6Oct 29, 2026 20:135,03627,035,62315,081,0001,035,0002,113,536
7Oct 29, 2026 20:135,04327,139,03915,071,0001,067,0002,113,536
8Oct 29, 2026 20:135,05027,323,94815,045,0001,116,0002,113,536
9Oct 29, 2026 20:135,09528,005,00715,287,0001,020,0002,113,536