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 9, 2024 19:08джулисджулисScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:085,52242,657,31117,671,00002,355,200
2Jun 9, 2024 19:095,52738,547,17417,686,00002,371,584
3Jun 9, 2024 19:095,52850,323,89116,651,0001,040,0002,379,776
4Jun 9, 2024 19:095,53148,475,13016,717,000983,0002,293,760
5Jun 9, 2024 19:085,53846,118,33916,680,0001,042,0002,293,760
6Jun 9, 2024 19:095,53850,129,51217,721,00002,293,760
7Jun 9, 2024 19:095,57634,450,84815,862,0001,982,0002,293,760
8Jun 9, 2024 19:085,58145,351,22416,867,000992,0002,367,488
9Jun 9, 2024 19:095,58150,516,03816,866,000992,0002,293,760
10Jun 9, 2024 19:085,58242,141,05315,877,0001,984,0002,371,584
11Jun 9, 2024 19:085,58249,090,44416,871,000992,0002,478,080
12Jun 9, 2024 19:095,58241,064,57415,878,0001,984,0002,293,760
13Jun 9, 2024 19:095,58448,920,78516,877,000992,0002,367,488
14Jun 9, 2024 19:085,58645,750,12315,888,0001,986,0002,375,680
15Jun 9, 2024 19:095,58645,581,25015,889,0001,986,0002,367,488
16Jun 9, 2024 19:085,58648,163,58015,888,0001,986,0002,494,464
17Jun 9, 2024 19:085,58744,868,80315,891,0001,986,0002,293,760
18Jun 9, 2024 19:085,58743,196,63117,878,00002,371,584
19Jun 9, 2024 19:095,74389,192,05518,378,68202,256,896
20Jun 9, 2024 19:085,74877,868,52418,393,34502,256,896
21Jun 9, 2024 19:085,76292,067,18918,439,57702,248,704
22Jun 9, 2024 19:095,76970,389,64918,461,17502,252,800
23Jun 9, 2024 19:085,801103,906,69318,563,72102,252,800
24Jun 9, 2024 19:095,99774,398,82119,191,39802,252,800