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 09:29Sergey StreminSergey StreminScore: 5,815Success
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 09:295,75935,448,73018,430,00002,277,376
2May 17, 2021 09:295,77041,006,28417,438,0001,025,0002,375,680
3May 17, 2021 09:295,77343,487,70216,421,0002,052,0002,367,488
4May 17, 2021 09:295,77846,891,15018,491,00002,363,392
5May 17, 2021 09:295,78137,284,81917,473,0001,027,0002,375,680
6May 17, 2021 09:295,78946,080,54416,466,0002,058,0002,363,392
7May 17, 2021 09:295,79239,358,97217,504,0001,029,0002,367,488
8May 17, 2021 09:295,79340,394,41817,507,0001,029,0002,478,080
9May 17, 2021 09:295,79539,654,24318,545,00002,371,584
10May 17, 2021 09:295,80239,548,25615,472,0003,094,0002,277,376
11May 17, 2021 09:295,80634,100,45917,546,0001,032,0002,277,376
12May 17, 2021 09:295,81244,088,02816,533,0002,066,0002,375,680
13May 17, 2021 09:295,81546,398,62116,542,0002,067,0002,277,376
14May 17, 2021 09:295,81851,908,90817,582,0001,034,0002,375,680
15May 17, 2021 09:295,81835,838,38517,582,0001,034,0002,363,392
16May 17, 2021 09:295,81946,782,82317,587,0001,034,0002,277,376
17May 17, 2021 09:295,81957,710,90617,586,0001,034,0002,277,376
18May 17, 2021 09:295,83147,357,05217,622,0001,036,0002,277,376
19May 17, 2021 09:296,03895,589,33519,322,46702,244,608
20May 17, 2021 09:296,05494,740,84119,371,92002,240,512
21May 17, 2021 09:296,054101,900,55719,373,89002,236,416
22May 17, 2021 09:296,06562,947,75819,409,58502,240,512
23May 17, 2021 09:296,10279,520,67419,526,97402,244,608
24May 17, 2021 09:296,10393,073,98819,528,71602,240,512