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:31джулисджулисScore: 5,338Success
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:315,28436,908,50015,915,000994,0002,293,760
2Jun 12, 2024 23:315,30646,641,06015,982,000998,0002,379,776
3Jun 12, 2024 23:315,31340,564,17415,003,0002,000,0002,367,488
4Jun 12, 2024 23:315,31445,172,42815,006,0002,000,0002,371,584
5Jun 12, 2024 23:315,32043,239,68615,021,0002,002,0002,478,080
6Jun 12, 2024 23:315,32546,960,89115,036,0002,004,0002,367,488
7Jun 12, 2024 23:315,32642,930,13815,038,0002,005,0002,371,584
8Jun 12, 2024 23:315,32743,239,28115,042,0002,005,0002,367,488
9Jun 12, 2024 23:315,33042,663,93216,052,0001,003,0002,482,176
10Jun 12, 2024 23:315,33444,984,42215,060,0002,008,0002,293,760
11Jun 12, 2024 23:315,33745,696,19515,069,0002,009,0002,293,760
12Jun 12, 2024 23:315,33735,829,89416,074,0001,004,0002,359,296
13Jun 12, 2024 23:315,33834,166,81515,072,0002,009,0002,449,408
14Jun 12, 2024 23:315,34044,066,34315,079,0002,010,0002,379,776
15Jun 12, 2024 23:315,34438,700,83915,089,0002,011,0002,367,488
16Jun 12, 2024 23:315,34843,552,69615,101,0002,013,0002,367,488
17Jun 12, 2024 23:315,35143,795,31216,117,0001,007,0002,293,760
18Jun 12, 2024 23:315,36136,135,41815,137,0002,018,0002,375,680
19Jun 12, 2024 23:315,54962,209,07317,758,12702,236,416
20Jun 12, 2024 23:315,55666,020,62517,780,49602,232,320
21Jun 12, 2024 23:315,55858,202,76817,785,55602,236,416
22Jun 12, 2024 23:315,56394,417,01917,802,82502,240,512
23Jun 12, 2024 23:315,58083,408,97417,857,20702,371,584
24Jun 12, 2024 23:315,58172,437,13417,859,46002,240,512