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 7, 2026 22:20IlyaIlyaScore: 4,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 22:204,25123,074,83312,587,0001,017,0002,113,536
2Jul 7, 2026 22:204,25823,086,08412,601,0001,027,0002,113,536
3Jul 7, 2026 22:204,26523,114,51512,641,0001,009,0002,113,536
4Jul 7, 2026 22:204,26623,109,33312,643,0001,011,0002,113,536
5Jul 7, 2026 22:204,27323,094,88212,670,0001,005,0002,113,536
6Jul 7, 2026 22:204,27623,071,89712,611,0001,074,0002,113,536
7Jul 7, 2026 22:204,28123,207,39312,647,0001,054,0002,113,536
8Jul 7, 2026 22:204,28423,143,47912,639,0001,072,0002,113,536
9Jul 7, 2026 22:204,31823,274,31212,775,0001,045,0002,113,536