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 13, 2024 18:21джулисджулисScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 18:215,19643,632,58615,588,0001,039,0002,371,584
2Jun 13, 2024 18:215,20342,575,21216,650,00002,375,680
3Jun 13, 2024 18:215,20344,488,59815,611,0001,040,0002,367,488
4Jun 13, 2024 18:215,20648,127,37115,617,0001,041,0002,293,760
5Jun 13, 2024 18:215,20947,312,15115,629,0001,041,0002,367,488
6Jun 13, 2024 18:215,21146,220,54816,676,00002,293,760
7Jun 13, 2024 18:215,21141,829,78415,634,0001,042,0002,379,776
8Jun 13, 2024 18:215,22142,971,87916,706,00002,482,176
9Jun 13, 2024 18:215,22339,473,38216,712,00002,371,584
10Jun 13, 2024 18:215,26434,408,53814,864,0001,981,0002,293,760
11Jun 13, 2024 18:215,26942,316,50716,861,00002,293,760
12Jun 13, 2024 18:215,26933,024,04715,869,000991,0002,379,776
13Jun 13, 2024 18:215,27332,693,02415,880,000992,0002,293,760
14Jun 13, 2024 18:215,27334,343,51315,882,000992,0002,367,488
15Jun 13, 2024 18:215,27335,932,26215,883,000992,0002,363,392
16Jun 13, 2024 18:215,27438,589,08416,877,00002,375,680
17Jun 13, 2024 18:215,27545,335,85815,888,000993,0002,293,760
18Jun 13, 2024 18:215,27542,363,17514,894,0001,985,0002,293,760
19Jun 13, 2024 18:215,42473,566,22017,358,20202,240,512
20Jun 13, 2024 18:215,44272,844,64717,415,85302,248,704
21Jun 13, 2024 18:215,44667,445,06517,426,24302,236,416
22Jun 13, 2024 18:215,46178,954,81317,474,98902,244,608
23Jun 13, 2024 18:215,48697,373,74117,554,28102,260,992
24Jun 13, 2024 18:215,51563,137,93117,649,39702,236,416