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 listJun 1, 2026 13:25IlyaIlyaScore: 5,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2026 13:265,11425,354,92516,365,00002,113,536
2Jun 1, 2026 13:265,11525,248,14715,359,0001,012,0002,113,536
3Jun 1, 2026 13:265,13325,383,20916,428,00002,113,536
4Jun 1, 2026 13:265,13325,380,59216,428,00002,113,536
5Jun 1, 2026 13:265,14325,464,63615,407,0001,052,0002,113,536
6Jun 1, 2026 13:265,15025,483,88916,482,00002,113,536
7Jun 1, 2026 13:265,15225,470,48815,473,0001,014,0002,113,536
8Jun 1, 2026 13:265,15726,729,40415,451,0001,053,0002,113,536
9Jun 1, 2026 13:265,15925,475,25115,492,0001,017,0002,113,536