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 19:18джулисджулисScore: 5,260Success
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 19:525,17441,841,89916,558,00002,367,488
2Jun 13, 2024 19:525,19242,947,00915,576,0001,038,0002,371,584
3Jun 13, 2024 19:185,19833,873,09416,634,00002,367,488
4Jun 13, 2024 19:525,20345,191,96715,610,0001,040,0002,371,584
5Jun 13, 2024 19:525,20544,269,97315,615,0001,041,0002,293,760
6Jun 13, 2024 19:525,20945,517,89515,628,0001,041,0002,383,872
7Jun 13, 2024 19:185,21049,266,87015,631,0001,042,0002,367,488
8Jun 13, 2024 19:185,21845,364,47016,696,00002,371,584
9Jun 13, 2024 19:185,21844,217,21116,699,00002,293,760
10Jun 13, 2024 19:185,22241,890,95516,711,00002,293,760
11Jun 13, 2024 19:185,25633,902,24114,841,0001,978,0002,293,760
12Jun 13, 2024 19:525,26037,510,52315,841,000990,0002,367,488
13Jun 13, 2024 19:185,26034,410,81714,853,0001,980,0002,375,680
14Jun 13, 2024 19:525,26635,096,61514,869,0001,982,0002,371,584
15Jun 13, 2024 19:525,26848,076,61814,875,0001,983,0002,293,760
16Jun 13, 2024 19:185,27345,056,77215,883,000992,0002,375,680
17Jun 13, 2024 19:525,27544,198,47614,895,0001,986,0002,367,488
18Jun 13, 2024 19:185,27631,786,22615,890,000993,0002,490,368
19Jun 13, 2024 19:185,43782,649,22717,397,12102,244,608
20Jun 13, 2024 19:525,44178,969,65317,409,89602,260,992
21Jun 13, 2024 19:525,47473,844,93917,515,57902,371,584
22Jun 13, 2024 19:525,47686,890,64617,521,94302,244,608
23Jun 13, 2024 19:185,49466,269,75917,579,50902,236,416
24Jun 13, 2024 19:185,49966,442,74217,595,69202,244,608