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 27, 2026 17:58Shikhar SoniShikhar SoniScore: 5,122Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 17:595,09225,633,53415,267,0001,030,0002,113,536
2Jun 27, 2026 17:595,10125,603,07815,290,0001,036,0002,113,536
3Jun 27, 2026 17:595,10425,604,74315,202,0001,132,0002,113,536
4Jun 27, 2026 17:595,12125,639,50015,252,0001,137,0002,113,536
5Jun 27, 2026 17:595,12225,708,13115,281,0001,112,0002,113,536
6Jun 27, 2026 17:595,12425,708,42115,263,0001,135,0002,113,536
7Jun 27, 2026 17:595,12825,666,04615,397,0001,015,0002,113,536
8Jun 27, 2026 17:595,13525,709,18515,282,0001,151,0002,113,536
9Jun 27, 2026 17:595,14125,739,93515,357,0001,096,0002,113,536