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 25, 2026 13:07Kevin HeaveyKevin HeaveyScore: 4,103Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2026 13:074,08222,890,49413,064,00002,113,536
2Jul 25, 2026 13:074,08522,869,84513,075,00002,113,536
3Jul 25, 2026 13:074,08922,871,33012,063,0001,023,0002,113,536
4Jul 25, 2026 13:074,09722,913,16012,080,0001,031,0002,113,536
5Jul 25, 2026 13:074,10323,011,61112,095,0001,036,0002,113,536
6Jul 25, 2026 13:074,11023,015,43112,106,0001,046,0002,113,536
7Jul 25, 2026 13:074,11322,953,02012,125,0001,037,0002,113,536
8Jul 25, 2026 13:074,11623,200,97212,117,0001,055,0002,113,536
9Jul 25, 2026 13:074,13523,099,84212,220,0001,015,0002,113,536