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 2, 2026 00:07Karthik ReddyKarthik ReddyScore: 3,950Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 00:073,94222,134,06812,616,000020,480
2Oct 2, 2026 00:073,94421,684,10212,622,000020,480
3Oct 2, 2026 00:073,94422,188,45612,623,000020,480
4Oct 2, 2026 00:073,94821,682,56412,636,000020,480
5Oct 2, 2026 00:073,95021,597,43212,640,000020,480
6Oct 2, 2026 00:073,95421,613,76612,655,000020,480
7Oct 2, 2026 00:073,95921,690,97012,670,000020,480
8Oct 2, 2026 00:073,97023,188,46812,705,000020,480
9Oct 2, 2026 00:073,98521,756,55912,755,000020,480