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 12, 2026 18:44IlyaIlyaScore: 5,044Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2026 18:445,03025,601,47815,027,0001,071,0002,113,536
2Jul 12, 2026 18:445,03025,577,24915,027,0001,072,0002,113,536
3Jul 12, 2026 18:445,03125,558,41815,030,0001,071,0002,113,536
4Jul 12, 2026 18:445,03625,541,17415,043,0001,073,0002,113,536
5Jul 12, 2026 18:445,04425,542,73315,068,0001,074,0002,113,536
6Jul 12, 2026 18:445,04525,587,82215,073,0001,074,0002,113,536
7Jul 12, 2026 18:445,04925,642,61415,083,0001,075,0002,113,536
8Jul 12, 2026 18:445,05525,644,20715,101,0001,077,0002,113,536
9Jul 12, 2026 18:445,05625,701,55515,103,0001,077,0002,113,536