whats the complexity of this program is it n^2*logn or what?

后端 未结 0 1834
天命终不由人
天命终不由人 2020-12-14 00:37
lst=list(map(int,input().split(\' \')))
def median(x):
    x=sorted(x)
    mid=len(x)//2
    
    if(len(x)%2==0):
        return (x[mid-1]+x[mid])/2
    return x[mi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题