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 listMay 12, 2021 21:03Yuriy LyfenkoYuriy LyfenkoScore: 5,674Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 21:025,63446,551,36516,026,0002,003,0002,392,064
2May 12, 2021 21:025,63744,050,25416,035,0002,004,0002,260,992
3May 12, 2021 21:025,63844,503,13916,039,0002,004,0002,396,160
4May 12, 2021 21:035,63847,368,01815,035,0003,007,0002,392,064
5May 12, 2021 21:025,64144,009,11815,043,0003,008,0002,396,160
6May 12, 2021 21:035,64347,758,12916,051,0002,006,0002,523,136
7May 12, 2021 21:035,64450,035,88116,054,0002,006,0002,260,992
8May 12, 2021 21:035,64640,944,78716,060,0002,007,0002,265,088
9May 12, 2021 21:025,64847,902,51416,064,0002,008,0002,523,136
10May 12, 2021 21:025,65447,729,93317,088,0001,005,0002,265,088
11May 12, 2021 21:035,65546,015,80117,091,0001,005,0002,260,992
12May 12, 2021 21:035,66343,452,41016,108,0002,013,0002,260,992
13May 12, 2021 21:025,67443,300,63717,150,0001,008,0002,265,088
14May 12, 2021 21:035,67542,278,60916,143,0002,017,0002,523,136
15May 12, 2021 21:025,68243,475,31015,153,0003,030,0002,506,752
16May 12, 2021 21:035,68349,127,04716,164,0002,020,0002,396,160
17May 12, 2021 21:035,68735,020,09016,177,0002,022,0002,523,136
18May 12, 2021 21:025,69642,394,73416,201,0002,025,0002,510,848
19May 12, 2021 21:035,84783,807,60618,711,95302,277,376
20May 12, 2021 21:025,86186,078,18118,756,56902,265,088
21May 12, 2021 21:035,86893,279,55618,776,02802,277,376
22May 12, 2021 21:025,87179,151,86218,786,59202,281,472
23May 12, 2021 21:025,89693,752,29118,866,51002,277,376
24May 12, 2021 21:035,92187,419,48318,945,95902,269,184