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 12:10FrederickFrederickScore: 5,070Success
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 12:115,0603,025,237,14215,162,0001,033,0002,117,632
2Oct 5, 2026 12:115,0603,025,240,59815,189,0001,003,0002,117,632
3Oct 5, 2026 12:115,0643,025,498,02715,182,0001,024,0002,117,632
4Oct 5, 2026 12:115,0703,026,007,61015,206,0001,019,0002,117,632
5Oct 5, 2026 12:115,0703,026,898,91615,216,0001,009,0002,117,632
6Oct 5, 2026 12:115,0803,025,198,94915,251,0001,008,0002,117,632
7Oct 5, 2026 12:115,0813,025,272,31515,255,0001,007,0002,117,632
8Oct 5, 2026 12:115,0863,025,321,74715,245,0001,033,0002,117,632
9Oct 5, 2026 12:115,0883,025,149,55915,240,0001,043,0002,117,632