Cho team, wins, points. Sắp xếp giảm dần theo wins, đồng wins thì giảm dần theo points.
Dòng 1: n. n dòng: team,wins,points.
1 <= n <= 100.
team wins points (points 2 chữ số).
Ví dụ:
Đầu vào:
4
A,5,12.5
B,5,10.0
C,3,15.0
D,5,12.5
Đầu ra:
A 5 12.50
D 5 12.50
B 5 10.00
C 3 15.00
Giải thích:
Đang tải editor...