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 30, 2021 15:37Yuriy LyfenkoYuriy LyfenkoScore: 5,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:375,05432,402,89315,164,0001,010,0002,383,872
2May 30, 2021 15:375,05642,482,15214,156,0002,022,0002,396,160
3May 30, 2021 15:375,07341,622,55114,205,0002,029,0002,265,088
4May 30, 2021 15:375,07944,195,52315,237,0001,015,0002,256,896
5May 30, 2021 15:375,08938,389,19715,267,0001,017,0002,396,160
6May 30, 2021 15:375,09839,304,20514,273,0002,039,0002,396,160
7May 30, 2021 15:375,09833,307,62615,294,0001,019,0002,392,064
8May 30, 2021 15:375,09843,953,96215,295,0001,019,0002,265,088
9May 30, 2021 15:375,11837,858,70016,378,00002,265,088
10May 30, 2021 15:375,23360,462,89416,744,28702,240,512
11May 30, 2021 15:375,25782,896,46116,822,52702,273,280
12May 30, 2021 15:375,27468,809,95716,875,75302,285,568