結果
問題 | No.750 Frac #1 |
ユーザー |
![]() |
提出日時 | 2020-04-08 00:41:05 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 1,000 ms |
コード長 | 170 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-08 10:39:59 |
合計ジャッジ時間 | 2,032 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
n = int(input()) l = [] for _ in range(n): a,b = map(int,input().split()) l.append((a/b, a,b)) l.sort(reverse=True) for i in range(n): print(l[i][1], l[i][2])