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 7, 2026 02:57Victor MerckléVictor MerckléScore: 4,190Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 02:574,181271,385,09313,381,000024,576stderr
2Jul 7, 2026 02:574,184271,495,30413,390,000024,576stderr
3Jul 7, 2026 02:574,186271,649,37713,396,000024,576stderr
4Jul 7, 2026 02:574,188771,627,69213,404,000024,576stderr
5Jul 7, 2026 02:574,190521,501,02913,410,000024,576stderr
6Jul 7, 2026 02:574,193271,511,78113,419,000024,576stderr
7Jul 7, 2026 02:574,199771,719,61813,439,000024,576stderr
8Jul 7, 2026 02:574,199271,395,82213,439,000024,576stderr
9Jul 7, 2026 02:574,2001,021,814,87913,442,000024,576stderr