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 9, 2026 16:08Karthik ReddyKarthik ReddyScore: 3,944Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 16:553,9306,021,665,55712,579,000020,480
2Oct 9, 2026 16:553,9346,021,626,22912,591,000020,480
3Oct 9, 2026 16:553,9376,021,590,61312,599,000020,480
4Oct 9, 2026 16:553,9406,021,581,13312,611,000020,480
5Oct 9, 2026 16:553,9446,023,155,16812,622,000020,480
6Oct 9, 2026 16:553,9456,021,713,47112,624,000020,480
7Oct 9, 2026 16:553,9476,021,796,70112,632,000020,480
8Oct 9, 2026 16:553,9486,021,986,36812,635,000020,480
9Oct 9, 2026 16:553,9576,021,513,29212,665,000020,480