結果

問題 No.750 Frac #1
ユーザー gorugo30
提出日時 2021-02-23 12:07:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 1,000 ms
コード長 161 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 82,328 KB
実行使用メモリ 54,220 KB
最終ジャッジ日時 2024-09-22 07:58:43
合計ジャッジ時間 2,345 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X = [list(map(int, input().split())) for i in range(N)]
X.sort(key = lambda x: x[0] / x[1], reverse = True)
for i in range(N):
    print(*X[i])
0