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 2, 2026 16:21IlyaIlyaScore: 4,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 16:214,24922,910,70112,585,0001,012,0002,113,536
2Jul 2, 2026 16:214,25023,002,35912,582,0001,019,0002,113,536
3Jul 2, 2026 16:214,25322,952,29112,601,0001,011,0002,113,536
4Jul 2, 2026 16:214,25722,915,44212,598,0001,027,0002,113,536
5Jul 2, 2026 16:214,26323,053,88312,624,0001,019,0002,113,536
6Jul 2, 2026 16:214,27523,056,95612,612,0001,070,0002,113,536
7Jul 2, 2026 16:214,28423,067,91412,633,0001,077,0002,113,536
8Jul 2, 2026 16:214,29123,057,14612,649,0001,083,0002,113,536
9Jul 2, 2026 16:214,38124,631,29012,958,0001,064,0002,113,536