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 25, 2021 15:20Yuriy LyfenkoYuriy LyfenkoScore: 5,079Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:205,04938,383,55114,138,0002,019,0002,392,064
2May 25, 2021 15:205,05442,650,55615,163,0001,010,0002,265,088
3May 25, 2021 15:205,05638,085,30615,168,0001,011,0002,265,088
4May 25, 2021 15:205,06241,092,83014,173,0002,024,0002,400,256
5May 25, 2021 15:205,06743,416,65815,200,0001,013,0002,396,160
6May 25, 2021 15:205,07035,381,26215,211,0001,014,0002,265,088
7May 25, 2021 15:205,07931,382,05614,221,0002,031,0002,265,088
8May 25, 2021 15:205,08437,353,06214,235,0002,033,0002,265,088
9May 25, 2021 15:205,09942,887,71716,317,00002,265,088
10May 25, 2021 15:205,26451,637,18716,846,00102,273,280
11May 25, 2021 15:205,37283,509,57317,189,10402,277,376
12May 25, 2021 15:205,57673,793,79517,843,17902,285,568