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 4, 2026 14:25dmhockey2005-progdmhockey2005-progScore: 5,611Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 14:255,58927,306,29116,801,0001,085,0002,113,536
2Jul 4, 2026 14:255,59627,271,72916,760,0001,148,0002,113,536
3Jul 4, 2026 14:255,59827,342,23416,769,0001,145,0002,113,536
4Jul 4, 2026 14:255,60527,339,01616,800,0001,139,0002,113,536
5Jul 4, 2026 14:255,61127,314,05916,810,0001,146,0002,113,536
6Jul 4, 2026 14:255,61427,391,05716,797,0001,170,0002,113,536
7Jul 4, 2026 14:255,63327,366,46216,929,0001,097,0002,113,536
8Jul 4, 2026 14:255,64027,436,78716,896,0001,153,0002,113,536
9Jul 4, 2026 14:255,65127,483,24216,911,0001,173,0002,113,536