import sys
newCase = True
for line in sys.stdin:
if newCase:
N = int(line)
newCase = False
NumList = list()
else:
N -= 1
x,y = map(eval,line.strip().split())
NumList.append((x,y))
if N==0:
NumList.sort(key=lambda x:x[1])
NumList.sort(key=lambda x:x[0])
print(*(NumList[0]))
KY198 找最小数
最新推荐文章于 2024-08-22 17:27:46 发布