結果
| 問題 |
No.750 Frac #1
|
| コンテスト | |
| ユーザー |
monburan_0401
|
| 提出日時 | 2019-05-01 13:19:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 286 bytes |
| コンパイル時間 | 209 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-31 12:18:54 |
| 合計ジャッジ時間 | 2,396 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 30 |
ソースコード
# coding utf-8
n = int(input())
ans = {}
for i in range(n):
sentence = str(input())
bunsi = int(sentence.split(" ")[0])
bunbo = int(sentence.split(" ")[1])
val = bunshi / bunbo
ans[val] = sentence
for k, v in sorted(ans.items(), key=lambda x: -x[0]):
print(v)
monburan_0401