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 1, 2026 23:17Karthik 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 1, 2026 23:203,94021,623,13312,611,000020,480
2Oct 1, 2026 23:203,94521,653,35512,627,000020,480
3Oct 1, 2026 23:203,94521,525,43312,626,000020,480
4Oct 1, 2026 23:203,94921,699,29312,638,000020,480
5Oct 1, 2026 23:203,95021,616,47612,640,000020,480
6Oct 1, 2026 23:203,95021,561,59212,640,000020,480
7Oct 1, 2026 23:203,95523,167,67912,658,000020,480
8Oct 1, 2026 23:203,96121,709,88712,676,000020,480
9Oct 1, 2026 23:203,96521,755,61212,690,000020,480