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 listJun 2, 2026 08:54IlyaIlyaScore: 5,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2026 08:555,18525,599,85816,593,00002,113,536
2Jun 2, 2026 08:555,18825,594,47816,603,00002,113,536
3Jun 2, 2026 08:555,19825,648,83415,635,0001,001,0002,113,536
4Jun 2, 2026 08:555,20425,600,59116,653,00002,113,536
5Jun 2, 2026 08:555,21725,515,27715,679,0001,017,0002,113,536
6Jun 2, 2026 08:555,23725,760,76015,701,0001,058,0002,113,536
7Jun 2, 2026 08:555,34026,159,83816,086,0001,005,0002,113,536
8Jun 2, 2026 08:555,35125,941,76116,103,0001,022,0002,113,536
9Jun 2, 2026 08:555,35326,188,64516,117,0001,015,0002,113,536