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 listSep 1, 2026 12:20Victor MerckléVictor MerckléScore: 4,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 12:204,08821,202,10413,084,000024,576stderr
2Sep 1, 2026 12:204,08921,441,81813,086,000024,576stderr
3Sep 1, 2026 12:204,09521,527,82013,105,000024,576stderr
4Sep 1, 2026 12:204,09921,489,61213,117,000024,576stderr
5Sep 1, 2026 12:204,10221,525,36913,128,000024,576stderr
6Sep 1, 2026 12:204,10621,350,35813,140,000024,576stderr
7Sep 1, 2026 12:204,10822,322,72813,148,000024,576stderr
8Sep 1, 2026 12:204,10921,337,59213,149,000024,576stderr
9Sep 1, 2026 12:204,14322,989,95513,260,000024,576stderr