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:07Victor MerckléVictor MerckléScore: 4,186Success
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:074,17521,063,13213,363,00002,117,632stderr
2Jul 1, 2026 17:074,17622,597,55313,364,00002,117,632stderr
3Jul 1, 2026 17:074,18021,083,72513,379,00002,117,632stderr
4Jul 1, 2026 17:074,18621,056,14013,397,00002,117,632stderr
5Jul 1, 2026 17:074,18621,316,19513,396,00002,117,632stderr
6Jul 1, 2026 17:074,19021,213,05413,409,00002,117,632stderr
7Jul 1, 2026 17:074,19821,320,86313,434,00002,117,632stderr
8Jul 1, 2026 17:074,20521,158,24813,459,00002,117,632stderr
9Jul 1, 2026 17:074,21021,195,07613,472,00002,117,632stderr