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 20:07джулисджулисScore: 5,365Success
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 20:075,32741,391,47816,043,0001,002,0002,293,760
2Jun 13, 2024 20:075,32842,556,72516,047,0001,002,0002,367,488
3Jun 13, 2024 20:075,33044,936,99515,049,0002,006,0002,293,760
4Jun 13, 2024 20:045,33232,584,69016,059,0001,003,0002,379,776
5Jun 13, 2024 20:075,33347,363,97416,062,0001,003,0002,367,488
6Jun 13, 2024 20:045,33837,356,58316,076,0001,004,0002,293,760
7Jun 13, 2024 20:045,34239,538,00016,089,0001,005,0002,363,392
8Jun 13, 2024 20:045,34540,712,10815,093,0002,012,0002,293,760
9Jun 13, 2024 20:045,34539,306,09016,097,0001,006,0002,293,760
10Jun 13, 2024 20:075,35237,334,64016,118,0001,007,0002,375,680
11Jun 13, 2024 20:045,35847,598,97415,129,0002,017,0002,293,760
12Jun 13, 2024 20:045,36239,330,34715,140,0002,018,0002,469,888
13Jun 13, 2024 20:075,36540,355,13315,148,0002,019,0002,363,392
14Jun 13, 2024 20:045,37043,752,08616,175,0001,010,0002,363,392
15Jun 13, 2024 20:075,37332,919,09816,182,0001,011,0002,379,776
16Jun 13, 2024 20:045,37846,843,81615,187,0002,024,0002,371,584
17Jun 13, 2024 20:075,38140,700,85815,194,0002,025,0002,293,760
18Jun 13, 2024 20:075,38341,090,88315,200,0002,026,0002,375,680
19Jun 13, 2024 20:075,55899,355,28917,784,48402,244,608
20Jun 13, 2024 20:045,56086,261,73117,792,45502,244,608
21Jun 13, 2024 20:045,57093,184,79817,823,20202,240,512
22Jun 13, 2024 20:075,60266,977,27017,925,98302,256,896
23Jun 13, 2024 20:045,60773,681,27117,941,47302,236,416
24Jun 13, 2024 20:075,618106,078,50317,976,31402,240,512