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:09Sergey StreminSergey StreminScore: 5,478Success
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:095,43344,846,58616,362,0001,022,0002,281,472
2May 17, 2021 12:095,44044,267,38816,384,0001,024,0002,379,776
3May 17, 2021 12:095,44040,638,99117,407,00002,277,376
4May 17, 2021 12:095,44540,512,54216,400,0001,025,0002,281,472
5May 17, 2021 12:095,45245,542,72515,395,0002,052,0002,367,488
6May 17, 2021 12:095,45440,809,09216,428,0001,026,0002,371,584
7May 17, 2021 12:095,45835,146,08615,412,0002,054,0002,277,376
8May 17, 2021 12:095,45840,836,69616,437,0001,027,0002,277,376
9May 17, 2021 12:095,46342,906,95116,454,0001,028,0002,379,776
10May 17, 2021 12:095,46842,159,97116,467,0001,029,0002,277,376
11May 17, 2021 12:095,46843,755,27716,469,0001,029,0002,363,392
12May 17, 2021 12:095,46840,925,98616,469,0001,029,0002,375,680
13May 17, 2021 12:095,47843,379,21917,530,00002,371,584
14May 17, 2021 12:095,48146,307,93716,509,0001,031,0002,371,584
15May 17, 2021 12:095,48344,776,97616,512,0001,032,0002,371,584
16May 17, 2021 12:095,48644,883,34616,524,0001,032,0002,281,472
17May 17, 2021 12:095,48752,552,86416,526,0001,032,0002,367,488
18May 17, 2021 12:095,48849,955,19617,563,00002,277,376
19May 17, 2021 12:095,68777,421,64718,198,84602,297,856
20May 17, 2021 12:095,69693,754,36618,228,46902,297,856
21May 17, 2021 12:095,721101,037,91118,308,74702,293,760
22May 17, 2021 12:095,731108,427,94718,340,44502,297,856
23May 17, 2021 12:095,75683,944,60118,417,91702,293,760
24May 17, 2021 12:095,77893,046,69218,488,71402,297,856