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 2, 2026 20:24IlyaIlyaScore: 4,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 20:244,24122,920,13212,551,0001,022,0002,113,536
2Jul 2, 2026 20:244,24722,911,75612,580,0001,011,0002,113,536
3Jul 2, 2026 20:244,25122,933,35012,579,0001,026,0002,113,536
4Jul 2, 2026 20:244,26222,946,15012,574,0001,065,0002,113,536
5Jul 2, 2026 20:244,27022,992,83112,600,0001,066,0002,113,536
6Jul 2, 2026 20:244,27323,026,52912,607,0001,069,0002,113,536
7Jul 2, 2026 20:244,27922,950,46412,621,0001,074,0002,113,536
8Jul 2, 2026 20:244,28323,032,82912,642,0001,064,0002,113,536
9Jul 2, 2026 20:244,28523,060,33212,630,0001,083,0002,113,536