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 10:20Victor MerckléVictor MerckléScore: 4,159Success
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 10:204,07821,329,17313,050,000024,576stderr
2Sep 1, 2026 10:204,08521,264,09213,072,000024,576stderr
3Sep 1, 2026 10:204,09521,220,03313,105,000024,576stderr
4Sep 1, 2026 10:204,11121,331,53913,158,000024,576stderr
5Sep 1, 2026 10:204,15921,587,95313,309,000024,576stderr
6Sep 1, 2026 10:204,16823,006,86413,340,000024,576stderr
7Sep 1, 2026 10:204,17721,688,86713,368,000024,576stderr
8Sep 1, 2026 10:204,19521,615,13413,427,000024,576stderr
9Sep 1, 2026 10:204,22521,640,37113,523,000024,576stderr