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 6, 2026 20:25Victor MerckléVictor MerckléScore: 4,201Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:264,17821,205,14713,371,00002,117,632stderr
2Jul 6, 2026 20:264,19121,199,40713,412,00002,117,632stderr
3Jul 6, 2026 20:264,19221,151,22413,416,00002,117,632stderr
4Jul 6, 2026 20:264,19621,304,22813,428,00002,117,632stderr
5Jul 6, 2026 20:264,20121,261,07313,446,00002,117,632stderr
6Jul 6, 2026 20:264,20721,189,22113,465,00002,117,632stderr
7Jul 6, 2026 20:264,21121,249,58113,476,00002,117,632stderr
8Jul 6, 2026 20:264,21721,374,73213,496,00002,117,632stderr
9Jul 6, 2026 20:264,21921,289,07913,502,00002,117,632stderr