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:14Victor MerckléVictor MerckléScore: 4,078Success
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:164,06921,326,93313,023,000024,576stderr
2Sep 1, 2026 12:164,07021,294,64013,025,000024,576stderr
3Sep 1, 2026 12:164,07521,344,80613,043,000024,576stderr
4Sep 1, 2026 12:164,07721,364,43413,049,000024,576stderr
5Sep 1, 2026 12:164,07821,383,96913,052,000024,576stderr
6Sep 1, 2026 12:164,08021,376,83013,057,000024,576stderr
7Sep 1, 2026 12:164,08021,375,38813,057,000024,576stderr
8Sep 1, 2026 12:164,08921,447,68013,087,000024,576stderr
9Sep 1, 2026 12:164,11521,460,36913,168,000024,576stderr