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 17:13Sergey StreminSergey StreminScore: 5,928Success
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 17:135,89947,009,62417,830,0001,048,0002,289,664
2May 17, 2021 17:145,90451,614,43716,904,0001,988,0002,277,376
3May 17, 2021 17:135,90847,032,70818,907,00002,277,376
4May 17, 2021 17:145,90844,670,92416,915,0001,990,0002,379,776
5May 17, 2021 17:135,91042,914,49616,922,0001,990,0002,367,488
6May 17, 2021 17:145,91243,792,84017,924,000995,0002,367,488
7May 17, 2021 17:145,91344,307,86217,925,000995,0002,375,680
8May 17, 2021 17:145,91448,586,80717,874,0001,051,0002,379,776
9May 17, 2021 17:135,91635,884,59914,945,0003,985,0002,277,376
10May 17, 2021 17:145,91844,533,71616,944,0001,993,0002,367,488
11May 17, 2021 17:145,92345,329,38615,960,0002,992,0002,375,680
12May 17, 2021 17:135,92442,849,01015,965,0002,993,0002,371,584
13May 17, 2021 17:135,92836,865,16214,977,0003,993,0002,277,376
14May 17, 2021 17:135,93147,127,45515,983,0002,996,0002,465,792
15May 17, 2021 17:145,93850,384,70117,001,0002,000,0002,277,376
16May 17, 2021 17:135,93945,847,82317,005,0002,000,0002,277,376
17May 17, 2021 17:135,94445,974,28817,019,0002,002,0002,277,376
18May 17, 2021 17:145,94837,642,71517,031,0002,003,0002,277,376
19May 17, 2021 17:146,149105,666,31219,678,23902,232,320
20May 17, 2021 17:146,174113,475,02319,757,55002,244,608
21May 17, 2021 17:136,17782,898,14819,766,55902,240,512
22May 17, 2021 17:146,18890,470,58119,800,28102,236,416
23May 17, 2021 17:136,19484,639,82719,822,12802,244,608
24May 17, 2021 17:136,23883,254,46319,963,05302,232,320