結果
| 問題 | No.322 Geometry Dash |
| コンテスト | |
| ユーザー |
tjake
|
| 提出日時 | 2015-12-16 21:09:11 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 379 ms / 2,000 ms |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 379 ms |
| コンパイル使用メモリ | 77,316 KB |
| 最終ジャッジ日時 | 2025-12-03 18:37:22 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 27 |
ソースコード
n = input() t = map(int, raw_input().split()) d = map(int, raw_input().split()) ans = sorted(range(1, n+1), key=lambda x:(float(d[x-1])/t[x-1],-d[x-1],t[x-1])) print " ".join(map(str, ans))
tjake