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:13Victor MerckléVictor MerckléScore: 4,202Success
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:134,17721,292,90513,369,00002,117,632stderr
2Jul 1, 2026 17:134,18621,295,62013,398,00002,117,632stderr
3Jul 1, 2026 17:134,18921,329,91713,407,00002,117,632stderr
4Jul 1, 2026 17:134,19321,347,20913,418,00002,117,632stderr
5Jul 1, 2026 17:134,20221,150,64113,447,00002,117,632stderr
6Jul 1, 2026 17:134,20221,135,88013,448,00002,117,632stderr
7Jul 1, 2026 17:134,20921,345,58413,469,00002,117,632stderr
8Jul 1, 2026 17:134,21221,403,38013,480,00002,117,632stderr
9Jul 1, 2026 17:134,21421,413,35813,487,00002,117,632stderr