結果
| 問題 | No.750 Frac #1 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-30 18:28:02 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 20 ms / 1,000 ms |
| + 543µs | |
| コード長 | 209 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-10-09 17:12:57 |
| 合計ジャッジ時間 | 2,678 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
n=int(input());a=[] for _ in '1'*n: a.append(list(map(int,input().split()))) for _ in range(n): a[_].append(a[_][0]/a[_][1]) a=sorted(a,key=lambda x:x[2],reverse=True) for _ in range(n): print(a[_][0],a[_][1])