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 listMay 1, 2026 05:54olliecrowolliecrowScore: 4,390Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 05:554,34833,317,21611,927,0001,987,0002,490,368stderr
2May 1, 2026 05:554,37031,490,63811,989,0001,998,0002,490,368stderr
3May 1, 2026 05:554,37530,729,89712,000,0002,000,0002,482,176stderr
4May 1, 2026 05:554,38728,172,75112,034,0002,005,0002,490,368stderr
5May 1, 2026 05:554,39031,552,75412,042,0002,007,0002,482,176stderr
6May 1, 2026 05:554,39228,915,83212,049,0002,008,0002,494,464stderr
7May 1, 2026 05:554,39631,328,02512,060,0002,010,0002,482,176stderr
8May 1, 2026 05:554,40627,976,65012,086,0002,014,0002,334,720stderr
9May 1, 2026 05:554,41032,652,11612,099,0002,016,0002,494,464stderr