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 20, 2021 19:27Andrey TsvetkovAndrey TsvetkovScore: 6,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 19:275,97648,889,96117,110,0002,012,0002,527,232
2Jun 20, 2021 19:275,97844,423,84516,110,0003,020,0002,318,336
3Jun 20, 2021 19:275,97948,720,88717,120,0002,014,0002,519,040
4Jun 20, 2021 19:275,98739,507,90717,143,0002,016,0002,527,232
5Jun 20, 2021 19:275,98843,818,99017,146,0002,017,0002,531,328
6Jun 20, 2021 19:275,99148,171,34916,144,0003,027,0002,334,720
7Jun 20, 2021 19:275,99446,704,27217,163,0002,019,0002,338,816
8Jun 20, 2021 19:276,00036,383,04416,169,0003,031,0002,527,232
9Jun 20, 2021 19:276,00643,068,97717,196,0002,023,0002,334,720
10Jun 20, 2021 19:276,00740,897,45116,187,0003,035,0002,334,720
11Jun 20, 2021 19:276,00942,110,82617,204,0002,024,0002,531,328
12Jun 20, 2021 19:276,01086,057,18319,232,11502,228,224
13Jun 20, 2021 19:276,01348,790,64116,203,0003,038,0002,330,624
14Jun 20, 2021 19:276,01546,191,99918,235,0001,013,0002,334,720
15Jun 20, 2021 19:276,01645,235,65617,225,0002,026,0002,334,720
16Jun 20, 2021 19:276,01646,123,24316,213,0003,039,0002,531,328
17Jun 20, 2021 19:276,02491,006,77119,277,37402,232,320
18Jun 20, 2021 19:276,025101,125,63919,280,08202,232,320
19Jun 20, 2021 19:276,02543,282,31715,222,0004,059,0002,334,720
20Jun 20, 2021 19:276,02643,487,10916,239,0003,044,0002,334,720
21Jun 20, 2021 19:276,02790,316,60819,286,00002,240,512
22Jun 20, 2021 19:276,03935,577,63816,275,0003,051,0002,334,720
23Jun 20, 2021 19:276,07594,028,93319,441,48302,228,224
24Jun 20, 2021 19:276,08863,427,29319,480,87502,236,416