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 16, 2021 17:54Yuriy LyfenkoYuriy LyfenkoScore: 5,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 17:545,3844,333,934,18216,215,0001,013,0002,260,992
2May 16, 2021 17:565,3894,331,235,97917,246,00002,260,992
3May 16, 2021 17:565,4264,334,471,82015,433,0001,929,0002,523,136
4May 16, 2021 17:565,4304,332,657,86315,333,0002,044,0002,265,088
5May 16, 2021 17:545,4324,335,115,59516,418,000965,0002,265,088
6May 16, 2021 17:545,4334,336,838,93716,419,000965,0002,523,136
7May 16, 2021 17:545,4334,332,832,04916,419,000965,0002,383,872
8May 16, 2021 17:545,4354,330,091,46715,461,0001,932,0002,523,136
9May 16, 2021 17:565,4354,339,619,34615,459,0001,932,0002,523,136
10May 16, 2021 17:565,4354,333,099,50116,425,000966,0002,260,992
11May 16, 2021 17:565,4364,331,402,94116,371,0001,023,0002,260,992
12May 16, 2021 17:545,4374,332,100,93816,432,000966,0002,260,992
13May 16, 2021 17:545,4384,335,680,23413,535,0003,867,0002,519,040
14May 16, 2021 17:565,4384,335,258,92117,400,00002,519,040
15May 16, 2021 17:545,4404,334,203,08016,440,000967,0002,523,136
16May 16, 2021 17:565,4434,338,541,88215,483,0001,935,0002,265,088
17May 16, 2021 17:545,4444,332,725,93215,485,0001,935,0002,260,992
18May 16, 2021 17:565,4454,332,444,61515,489,0001,936,0002,527,232
19May 16, 2021 17:565,6294,365,747,15318,011,44202,277,376
20May 16, 2021 17:565,6314,364,084,89518,020,11102,277,376
21May 16, 2021 17:545,6434,367,679,04018,057,10702,277,376
22May 16, 2021 17:545,6514,364,990,19418,084,63802,285,568
23May 16, 2021 17:545,6544,368,747,69218,093,75802,285,568
24May 16, 2021 17:565,6644,359,749,83818,124,27302,285,568