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 1, 2026 17:57IlyaIlyaScore: 4,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 17:584,29023,074,70312,722,0001,006,0002,113,536
2Jul 1, 2026 17:584,30823,060,89512,723,0001,064,0002,113,536
3Jul 1, 2026 17:584,30923,098,65112,724,0001,065,0002,113,536
4Jul 1, 2026 17:584,31123,126,35612,729,0001,069,0002,113,536
5Jul 1, 2026 17:584,32131,354,97812,752,0001,077,0002,113,536
6Jul 1, 2026 17:584,32723,180,01712,786,0001,063,0002,113,536
7Jul 1, 2026 17:584,32823,229,73912,769,0001,082,0002,113,536
8Jul 1, 2026 17:584,32823,156,64712,777,0001,073,0002,113,536
9Jul 1, 2026 17:584,33623,205,33612,749,0001,127,0002,113,536