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 12:04Sergey StreminSergey StreminScore: 5,483Success
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 12:075,44839,660,27817,433,00002,371,584
2May 17, 2021 12:075,45645,969,94015,405,0002,054,0002,375,680
3May 17, 2021 12:045,45843,556,47917,464,00002,371,584
4May 17, 2021 12:045,45838,914,30515,412,0002,055,0002,371,584
5May 17, 2021 12:075,45942,424,19615,414,0002,055,0002,277,376
6May 17, 2021 12:045,46440,032,85614,399,0003,085,0002,478,080
7May 17, 2021 12:045,46838,527,03716,469,0001,029,0002,277,376
8May 17, 2021 12:045,46838,537,87916,468,0001,029,0002,277,376
9May 17, 2021 12:045,47039,898,42315,444,0002,059,0002,371,584
10May 17, 2021 12:045,47440,383,05015,457,0002,061,0002,478,080
11May 17, 2021 12:045,47539,911,91116,491,0001,030,0002,277,376
12May 17, 2021 12:045,47533,534,38917,520,00002,277,376
13May 17, 2021 12:045,47535,660,60814,428,0003,091,0002,375,680
14May 17, 2021 12:045,47635,661,37415,462,0002,061,0002,375,680
15May 17, 2021 12:075,47639,654,80916,492,0001,030,0002,379,776
16May 17, 2021 12:075,47734,336,30415,464,0002,061,0002,371,584
17May 17, 2021 12:045,47933,541,74616,501,0001,031,0002,371,584
18May 17, 2021 12:045,48234,722,35616,510,0001,031,0002,367,488
19May 17, 2021 12:045,48341,968,95017,547,00002,277,376
20May 17, 2021 12:075,48737,005,09415,493,0002,065,0002,371,584
21May 17, 2021 12:075,48746,837,76416,525,0001,032,0002,367,488
22May 17, 2021 12:045,48739,658,64216,526,0001,032,0002,379,776
23May 17, 2021 12:045,48942,979,68416,532,0001,033,0002,375,680
24May 17, 2021 12:045,49739,513,14717,591,00002,363,392
25May 17, 2021 12:075,50147,234,86516,567,0001,035,0002,375,680
26May 17, 2021 12:075,50840,375,47615,551,0002,073,0002,281,472
27May 17, 2021 12:045,51834,274,96915,581,0002,077,0002,277,376
28May 17, 2021 12:075,73490,303,76418,347,55502,248,704
29May 17, 2021 12:075,74984,624,31318,396,03102,236,416
30May 17, 2021 12:045,75494,067,17318,413,68702,236,416
31May 17, 2021 12:045,75487,681,27118,411,52102,244,608
32May 17, 2021 12:045,76483,205,65518,444,93002,240,512
33May 17, 2021 12:045,76588,945,85618,447,32702,236,416
34May 17, 2021 12:045,77561,343,05118,481,28602,240,512
35May 17, 2021 12:075,78565,001,91418,512,75002,240,512
36May 17, 2021 12:045,78874,144,36318,521,78702,244,608