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 27, 2021 22:49gchebanovgchebanovScore: 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 27, 2021 22:495,32247,513,38415,026,0002,003,0002,523,136
2Jun 27, 2021 22:495,32646,701,81415,038,0002,005,0002,396,160
3Jun 27, 2021 22:495,32742,709,39415,042,0002,005,0002,265,088
4Jun 27, 2021 22:495,32946,750,99015,048,0002,006,0002,383,872
5Jun 27, 2021 22:495,32947,632,01015,048,0002,006,0002,265,088
6Jun 27, 2021 22:495,32934,443,67416,050,0001,003,0002,265,088
7Jun 27, 2021 22:495,33143,448,98915,053,0002,007,0002,396,160
8Jun 27, 2021 22:495,33838,251,45915,071,0002,009,0002,265,088
9Jun 27, 2021 22:495,34246,322,47016,088,0001,005,0002,265,088
10Jun 27, 2021 22:495,34545,490,66616,099,0001,006,0002,265,088
11Jun 27, 2021 22:495,34844,415,12615,099,0002,013,0002,396,160
12Jun 27, 2021 22:495,34941,512,04615,103,0002,013,0002,392,064
13Jun 27, 2021 22:495,35046,668,29015,105,0002,014,0002,527,232
14Jun 27, 2021 22:495,35147,232,75715,110,0002,014,0002,265,088
15Jun 27, 2021 22:495,35542,450,38916,128,0001,008,0002,265,088
16Jun 27, 2021 22:495,35642,243,97416,131,0001,008,0002,265,088
17Jun 27, 2021 22:495,35833,918,26815,130,0002,017,0002,383,872
18Jun 27, 2021 22:495,35945,381,17315,131,0002,017,0002,265,088
19Jun 27, 2021 22:495,36134,191,49616,146,0001,009,0002,502,656
20Jun 27, 2021 22:495,36832,858,22016,168,0001,010,0002,392,064
21Jun 27, 2021 22:495,36949,353,03316,170,0001,010,0002,379,776
22Jun 27, 2021 22:495,37345,184,24916,182,0001,011,0002,265,088
23Jun 27, 2021 22:495,37447,186,39315,174,0002,023,0002,265,088
24Jun 27, 2021 22:495,37837,927,63416,198,0001,012,0002,387,968
25Jun 27, 2021 22:495,38835,569,27816,228,0001,014,0002,265,088
26Jun 27, 2021 22:495,39448,137,04115,232,0002,030,0002,392,064
27Jun 27, 2021 22:495,40932,999,03416,290,0001,018,0002,392,064
28Jun 27, 2021 22:495,54285,761,61417,734,20702,277,376
29Jun 27, 2021 22:495,54592,766,44617,745,45802,281,472
30Jun 27, 2021 22:495,54764,811,01017,751,30902,273,280
31Jun 27, 2021 22:495,54988,809,53317,756,36902,244,608
32Jun 27, 2021 22:495,55099,412,37317,759,15602,277,376
33Jun 27, 2021 22:495,56485,163,10117,803,70602,273,280
34Jun 27, 2021 22:495,56868,906,24417,818,72202,277,376
35Jun 27, 2021 22:495,57157,714,39117,827,81702,281,472
36Jun 27, 2021 22:495,60163,757,67017,921,62802,265,088