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 12, 2024 23:28джулисджулисScore: 5,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:285,30944,385,22214,990,0001,998,0002,293,760
2Jun 12, 2024 23:285,31631,215,35616,010,0001,000,0002,375,680
3Jun 12, 2024 23:285,31649,270,68016,011,0001,000,0002,371,584
4Jun 12, 2024 23:285,32734,060,21515,040,0002,005,0002,371,584
5Jun 12, 2024 23:285,33146,871,26615,053,0002,007,0002,371,584
6Jun 12, 2024 23:285,34240,497,18715,083,0002,011,0002,367,488
7Jun 12, 2024 23:285,34838,658,08515,099,0002,013,0002,371,584
8Jun 12, 2024 23:285,34843,177,13315,100,0002,013,0002,469,888
9Jun 12, 2024 23:285,34840,450,65015,101,0002,013,0002,293,760
10Jun 12, 2024 23:285,54864,962,17217,754,81002,383,872
11Jun 12, 2024 23:285,56279,825,87317,799,07302,244,608
12Jun 12, 2024 23:285,59487,602,12317,901,84202,240,512