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:20Karthik ReddyKarthik ReddyScore: 11,081Success
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:2110,96744,111,1217,159,00027,937,00020,480
2Oct 1, 2026 23:2111,06244,395,2807,200,00028,200,00020,480
3Oct 1, 2026 23:2111,07644,466,7277,198,00028,247,00020,480
4Oct 1, 2026 23:2111,07644,447,7307,217,00028,229,00020,480
5Oct 1, 2026 23:2111,08144,461,1707,198,00028,264,00020,480
6Oct 1, 2026 23:2111,09245,739,0837,208,00028,287,00020,480
7Oct 1, 2026 23:2111,09544,508,0187,287,00028,220,00020,480
8Oct 1, 2026 23:2111,11644,501,4827,229,00028,344,00020,480
9Oct 1, 2026 23:2111,17644,749,1617,328,00028,438,00020,480