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 18:17FrederickFrederickScore: 5,031Success
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 18:184,9903,025,012,76515,968,00002,113,536
2Oct 5, 2026 18:184,9993,025,520,94315,999,00002,113,536
3Oct 5, 2026 18:185,0143,025,093,00716,046,00002,113,536
4Oct 5, 2026 18:185,0193,025,130,58916,063,00002,113,536
5Oct 5, 2026 18:185,0313,025,078,33616,102,00002,113,536
6Oct 5, 2026 18:185,0393,025,501,92016,127,00002,113,536
7Oct 5, 2026 18:186,0953,028,472,38115,387,0004,119,0002,113,536
8Oct 5, 2026 18:186,1223,028,648,80415,344,0004,249,0002,113,536
9Oct 5, 2026 18:186,2683,029,003,30715,410,0004,649,0002,113,536