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 17, 2021 11:33Sergey StreminSergey StreminScore: 5,765Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 11:335,70337,426,39416,223,0002,027,0002,367,488
2May 17, 2021 11:335,71135,583,47117,260,0001,015,0002,367,488
3May 17, 2021 11:335,71739,177,90317,278,0001,016,0002,371,584
4May 17, 2021 11:335,72844,981,69618,329,00002,371,584
5May 17, 2021 11:335,72843,192,33916,295,0002,036,0002,277,376
6May 17, 2021 11:335,73638,754,06916,317,0002,039,0002,371,584
7May 17, 2021 11:335,74239,035,53317,353,0001,020,0002,277,376
8May 17, 2021 11:335,75041,105,35216,355,0002,044,0002,277,376
9May 17, 2021 11:335,75041,377,75618,401,00002,486,272
10May 17, 2021 11:335,75235,704,92417,384,0001,022,0002,277,376
11May 17, 2021 11:335,75834,396,65617,402,0001,023,0002,371,584
12May 17, 2021 11:335,76334,177,70216,393,0002,049,0002,379,776
13May 17, 2021 11:335,76542,453,59217,424,0001,024,0002,277,376
14May 17, 2021 11:335,76632,275,53317,427,0001,025,0002,277,376
15May 17, 2021 11:335,76742,923,14716,403,0002,050,0002,379,776
16May 17, 2021 11:335,77941,596,37718,494,00002,277,376
17May 17, 2021 11:335,78145,198,27817,471,0001,027,0002,277,376
18May 17, 2021 11:335,79537,110,18817,513,0001,030,0002,277,376
19May 17, 2021 11:335,997102,594,06319,190,34402,244,608
20May 17, 2021 11:336,04395,564,60819,336,76102,236,416
21May 17, 2021 11:336,04379,082,12319,336,90502,236,416
22May 17, 2021 11:336,04973,094,51519,357,47602,236,416
23May 17, 2021 11:336,08080,290,50519,455,36202,232,320
24May 17, 2021 11:336,08772,073,90019,478,58702,232,320