結果

問題 No.750 Frac #1
ユーザー tkr182
提出日時 2019-09-20 02:59:27
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 127 bytes
コンパイル時間 180 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-13 07:14:44
合計ジャッジ時間 2,388 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
s=sorted([list(map(int,input().split()))for i in range(n)],key=lambda x:-x[0]/x[1])
for i,j in s:
    print(i,j)
0