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 8, 2024 18:38джулисджулисScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:385,68139,181,13717,170,0001,010,0002,367,488
2Jun 8, 2024 18:385,68139,472,00716,160,0002,020,0002,293,760
3Jun 8, 2024 18:385,69041,098,04316,184,0002,023,0002,367,488
4Jun 8, 2024 18:385,69341,316,38317,207,0001,012,0002,375,680
5Jun 8, 2024 18:385,70633,858,37616,231,0002,028,0002,293,760
6Jun 8, 2024 18:385,71039,135,18817,258,0001,015,0002,506,752
7Jun 8, 2024 18:385,72444,818,52716,282,0002,035,0002,375,680
8Jun 8, 2024 18:385,72944,322,93318,332,00002,293,760
9Jun 8, 2024 18:385,75338,200,83618,411,00002,293,760
10Jun 8, 2024 18:385,95384,170,64719,049,11802,240,512
11Jun 8, 2024 18:385,95498,626,68519,052,77302,371,584
12Jun 8, 2024 18:385,95591,294,42219,056,86502,236,416