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 listJul 1, 2026 17:59IlyaIlyaScore: 4,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 17:594,28724,704,62512,695,0001,024,0002,113,536
2Jul 1, 2026 17:594,30423,083,98412,727,0001,047,0002,113,536
3Jul 1, 2026 17:594,30623,139,76612,713,0001,067,0002,113,536
4Jul 1, 2026 17:594,30823,134,52512,720,0001,066,0002,113,536
5Jul 1, 2026 17:594,31123,119,75812,767,0001,030,0002,113,536
6Jul 1, 2026 17:594,31723,147,71312,745,0001,071,0002,113,536
7Jul 1, 2026 17:594,31723,163,93812,741,0001,074,0002,113,536
8Jul 1, 2026 17:594,32423,148,23912,775,0001,063,0002,113,536
9Jul 1, 2026 17:594,32923,221,70412,768,0001,085,0002,113,536