This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
import statistics
num=int(input())
x=[]
y=[]
for i in range(num):
xn, yn = map(int, input().split())
x.append(xn)
y.append(yn)
print(statistics.median(x),statistics.median(y))
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |