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 3, 2026 10:56IlyaIlyaScore: 4,578Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 10:564,50723,613,61513,400,0001,025,0002,113,536
2Jun 3, 2026 10:564,54724,193,36113,458,0001,094,0002,113,536
3Jun 3, 2026 10:564,55524,277,45813,494,0001,082,0002,113,536
4Jun 3, 2026 10:564,57224,312,20413,540,0001,093,0002,113,536
5Jun 3, 2026 10:564,57824,374,13813,542,0001,110,0002,113,536
6Jun 3, 2026 10:564,57823,868,62413,554,0001,097,0002,113,536
7Jun 3, 2026 10:564,58923,935,27013,584,0001,103,0002,113,536
8Jun 3, 2026 10:564,59124,373,35113,589,0001,104,0002,113,536
9Jun 3, 2026 10:564,69532,889,59313,990,0001,036,0002,113,536