Submission #924059

#TimeUsernameProblemLanguageResultExecution timeMemory
924059DanusanBest Place (NOI17_bestplace)Pypy 3
100 / 100
208 ms32116 KiB
def median(list,num): list.sort() if num%2!=0: return list[num//2] return (list[num//2]+list[(num//2)-1])//2 num=int(input()) x=[] y=[] for i in range(num): xn, yn = map(int, input().split()) x.append(xn) y.append(yn) print(median(x,num),median(y,num))
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...