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 4, 2026 14:38dmhockey2005-progdmhockey2005-progScore: 23,563Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 14:3823,47984,555,48446,449,00028,684,0002,113,536
2Jul 4, 2026 14:3823,48784,614,98046,438,00028,722,0002,113,536
3Jul 4, 2026 14:3823,50984,667,03046,462,00028,767,0002,113,536
4Jul 4, 2026 14:3823,56284,830,31946,457,00028,942,0002,113,536
5Jul 4, 2026 14:3823,56384,781,86746,502,00028,902,0002,113,536
6Jul 4, 2026 14:3823,60786,208,27546,471,00029,072,0002,113,536
7Jul 4, 2026 14:3823,61984,983,92646,470,00029,112,0002,113,536
8Jul 4, 2026 14:3823,65485,092,11646,473,00029,221,0002,113,536
9Jul 4, 2026 14:3823,70485,244,57246,486,00029,369,0002,113,536