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:07джулисджулисScore: 5,343Success
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:065,32645,377,88816,041,0001,002,0002,371,584
2Jun 12, 2024 23:065,32641,126,93816,040,0001,002,0002,293,760
3Jun 12, 2024 23:065,32941,657,65615,046,0002,006,0002,293,760
4Jun 12, 2024 23:075,33146,734,65616,055,0001,003,0002,293,760
5Jun 12, 2024 23:075,33342,176,08115,059,0002,007,0002,469,888
6Jun 12, 2024 23:075,33544,011,03115,063,0002,008,0002,293,760
7Jun 12, 2024 23:065,33744,145,76816,074,0001,004,0002,293,760
8Jun 12, 2024 23:075,33839,606,66116,079,0001,004,0002,293,760
9Jun 12, 2024 23:065,33933,484,82016,081,0001,005,0002,371,584
10Jun 12, 2024 23:065,34044,674,77817,087,00002,371,584
11Jun 12, 2024 23:075,34143,998,65616,086,0001,005,0002,375,680
12Jun 12, 2024 23:075,34239,555,71815,083,0002,011,0002,457,600
13Jun 12, 2024 23:075,34341,035,67316,093,0001,005,0002,367,488
14Jun 12, 2024 23:075,35141,242,06215,110,0002,014,0002,465,792
15Jun 12, 2024 23:065,35931,207,31715,132,0002,017,0002,465,792
16Jun 12, 2024 23:065,35933,531,11915,132,0002,017,0002,461,696
17Jun 12, 2024 23:065,36940,073,49116,170,0001,010,0002,293,760
18Jun 12, 2024 23:075,36936,779,89015,161,0002,021,0002,293,760
19Jun 12, 2024 23:065,57271,997,76317,830,01302,236,416
20Jun 12, 2024 23:075,57889,570,03217,848,34602,379,776
21Jun 12, 2024 23:065,59964,117,23717,917,76702,256,896
22Jun 12, 2024 23:075,61059,724,57617,950,47502,265,088
23Jun 12, 2024 23:065,61088,405,53817,950,84902,244,608
24Jun 12, 2024 23:075,61994,611,96617,980,85802,256,896