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 5, 2026 21:27JhnWJhnWScore: 5,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 21:275,31126,421,40315,973,0001,025,0002,113,536
2Jul 5, 2026 21:275,32626,435,41716,022,0001,022,0002,113,536
3Jul 5, 2026 21:275,33326,505,35316,036,0001,030,0002,113,536
4Jul 5, 2026 21:275,33626,527,60116,004,0001,072,0002,113,536
5Jul 5, 2026 21:275,34126,464,53816,045,0001,048,0002,113,536
6Jul 5, 2026 21:275,34526,492,44116,041,0001,065,0002,113,536
7Jul 5, 2026 21:275,35326,676,79116,108,0001,023,0002,113,536
8Jul 5, 2026 21:275,35826,598,30316,115,0001,031,0002,113,536
9Jul 5, 2026 21:275,37726,581,56416,148,0001,061,0002,113,536