結果
問題 |
No.750 Frac #1
|
ユーザー |
![]() |
提出日時 | 2019-02-17 11:17:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 307 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-09-25 06:29:20 |
合計ジャッジ時間 | 2,124 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 30 |
ソースコード
n = int(input()) a,b,c = [],[],[] for i in range(n): t = list(map(int, input().split())) a.append(b[0]) b.append(b[1]) c.append(b[0]/b[1]) d = sorted(c,reverse=True) for i in d: print(a[c.index(i)],b[c.index(i)])