結果
| 問題 |
No.750 Frac #1
|
| コンテスト | |
| ユーザー |
kawacchu
|
| 提出日時 | 2019-10-03 20:38:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 232 bytes |
| コンパイル時間 | 84 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-03 06:35:43 |
| 合計ジャッジ時間 | 1,858 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 30 |
ソースコード
N = int(input())
A = [list(map(int,input().split())) for i in range(N)]
for i in range(N) :
a,b = A[i]
A[i].append(a/b)
A = sorted(A, key=lambda x: x[2], reversed=True)
for i in range(N) :
a,b,c = A[i]
print(a, b)
kawacchu