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:05Victor MerckléVictor MerckléScore: 4,140Success
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:054,12922,277,61913,213,000024,576stderr
2Sep 1, 2026 12:054,13121,670,86413,220,000024,576stderr
3Sep 1, 2026 12:054,13521,647,19313,233,000024,576stderr
4Sep 1, 2026 12:054,13621,618,55713,238,000024,576stderr
5Sep 1, 2026 12:054,14021,626,54813,248,000024,576stderr
6Sep 1, 2026 12:054,14321,821,74113,258,000024,576stderr
7Sep 1, 2026 12:054,14322,369,07813,260,000024,576stderr
8Sep 1, 2026 12:054,14321,689,32213,259,000024,576stderr
9Sep 1, 2026 12:054,14521,675,83013,264,000024,576stderr