- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
N = int(input())
S = []
for i in range(N):
S.append(list(map(float, input().split())))
for i in range(len(S)):
S[i][0], S[i][1] = S[i][1], S[i][0]
S.sort()
for x in range(N):
for i in range(N-1):
if S[i][0] == S[i+1][0]:
if S[i][1] < S[i+1][1]:
S[i][1], S[i+1][1] = S[i+1][1], S[i][1]
for i in range(N):
print((str(round(S[i][1], 2))[:str(round(S[i][1], 2)).index('.')]+(str(round(S[i][1], 2))+'00000000')[str(round(S[i][1], 2)).index('.'):str(round(S[i][1], 2)).index('.')+3]),(str(round(S[i][0], 3))[:str(round(S[i][0], 3)).index('.')]+(str(round(S[i][0], 3))+'00000000')[str(round(S[i][0], 3)).index('.'):str(round(S[i][0], 3)).index('.')+4]))
Caladrius 03.09.2017 00:22 # +1
inho 04.09.2017 19:23 # −1
syoma 23.01.2018 23:32 # −1
AnalPerOral 24.01.2018 05:16 # −1
syoma 23.01.2018 23:31 # 0