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:59джулисджулисScore: 5,361Success
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:595,33844,982,49416,076,0001,004,0002,367,488
2Jun 13, 2024 00:005,34034,315,77217,087,00002,371,584
3Jun 13, 2024 00:005,34134,163,20515,080,0002,010,0002,371,584
4Jun 13, 2024 00:005,34236,469,37815,082,0002,011,0002,375,680
5Jun 12, 2024 23:595,34441,520,30916,096,0001,006,0002,367,488
6Jun 12, 2024 23:595,34538,108,10916,098,0001,006,0002,367,488
7Jun 13, 2024 00:005,34639,047,09215,095,0002,012,0002,293,760
8Jun 12, 2024 23:595,35239,575,71715,112,0002,014,0002,293,760
9Jun 13, 2024 00:005,35341,542,59815,114,0002,015,0002,371,584
10Jun 12, 2024 23:595,35540,877,12315,120,0002,016,0002,293,760
11Jun 13, 2024 00:005,35737,844,25015,126,0002,016,0002,371,584
12Jun 13, 2024 00:005,35836,654,16316,136,0001,008,0002,293,760
13Jun 12, 2024 23:595,36133,243,33916,147,0001,009,0002,375,680
14Jun 12, 2024 23:595,36339,575,79615,143,0002,019,0002,375,680
15Jun 13, 2024 00:005,36443,329,83415,147,0002,019,0002,367,488
16Jun 12, 2024 23:595,36443,605,37216,155,0001,009,0002,293,760
17Jun 12, 2024 23:595,36642,215,29615,151,0002,020,0002,379,776
18Jun 13, 2024 00:005,37039,359,01616,174,0001,010,0002,293,760
19Jun 12, 2024 23:595,61494,060,74117,963,69502,236,416
20Jun 13, 2024 00:005,61559,451,27917,967,58102,363,392
21Jun 12, 2024 23:595,61785,589,53517,975,02202,244,608
22Jun 12, 2024 23:595,63067,614,47218,014,64302,244,608
23Jun 13, 2024 00:005,63691,472,29518,036,72002,240,512
24Jun 13, 2024 00:005,64179,241,86518,050,54902,383,872