結果
問題 | No.750 Frac #1 |
ユーザー |
|
提出日時 | 2018-11-09 21:52:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-21 05:52:10 |
合計ジャッジ時間 | 1,977 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
n=int(input()) l=[] for i in range(n): a,b=map(int,input().split()) l.append([a,b,a/b]) lrev=sorted(l,key=lambda x:x[2],reverse=True) for i,e in enumerate(lrev): print(e[0],e[1])