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:28джулисджулисScore: 5,302Success
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:285,27630,690,96714,896,0001,986,0002,293,760
2Jun 12, 2024 23:285,28033,201,31915,902,000993,0002,293,760
3Jun 12, 2024 23:285,28243,198,40815,909,000994,0002,293,760
4Jun 12, 2024 23:285,28542,882,18215,917,000994,0002,297,856
5Jun 12, 2024 23:285,28745,941,63315,922,000995,0002,293,760
6Jun 12, 2024 23:285,28838,642,64214,932,0001,991,0002,367,488
7Jun 12, 2024 23:285,28945,021,52714,934,0001,991,0002,371,584
8Jun 12, 2024 23:285,29132,904,42614,939,0001,991,0002,359,296
9Jun 12, 2024 23:285,29435,867,71214,949,0001,993,0002,367,488
10Jun 12, 2024 23:285,29442,679,83414,949,0001,993,0002,363,392
11Jun 12, 2024 23:285,29933,021,81214,962,0001,994,0002,375,680
12Jun 12, 2024 23:285,30044,674,83515,963,000997,0002,375,680
13Jun 12, 2024 23:285,30248,668,52014,970,0001,996,0002,371,584
14Jun 12, 2024 23:285,30333,992,86214,974,0001,996,0002,371,584
15Jun 12, 2024 23:285,30936,141,45415,989,000999,0002,293,760
16Jun 12, 2024 23:285,31535,517,33315,008,0002,001,0002,371,584
17Jun 12, 2024 23:285,31645,365,04116,010,0001,000,0002,363,392
18Jun 12, 2024 23:285,32647,886,29315,039,0002,005,0002,379,776
19Jun 12, 2024 23:285,52982,061,32417,693,34002,244,608
20Jun 12, 2024 23:285,54470,117,86317,741,18802,244,608
21Jun 12, 2024 23:285,55089,178,59717,761,38302,371,584
22Jun 12, 2024 23:285,55898,937,08117,786,75702,240,512
23Jun 12, 2024 23:285,56383,829,60917,802,88802,236,416
24Jun 12, 2024 23:285,57676,757,88917,841,71902,375,680