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 22:10Victor MerckléVictor MerckléScore: 8,086Success
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 22:118,05933,712,32325,790,000024,576stderr
2Jul 6, 2026 22:118,06034,229,76125,792,000024,576stderr
3Jul 6, 2026 22:118,06033,669,85125,795,000024,576stderr
4Jul 6, 2026 22:118,08433,818,52725,871,000024,576stderr
5Jul 6, 2026 22:118,08633,982,68025,876,000024,576stderr
6Jul 6, 2026 22:118,09433,888,11625,902,000024,576stderr
7Jul 6, 2026 22:118,10435,595,60725,933,000024,576stderr
8Jul 6, 2026 22:118,10534,269,23325,939,000024,576stderr
9Jul 6, 2026 22:118,14534,063,10126,066,000024,576stderr