結果
| 問題 |
No.322 Geometry Dash
|
| コンテスト | |
| ユーザー |
tjake
|
| 提出日時 | 2015-12-16 21:09:11 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 390 ms / 2,000 ms |
| コード長 | 190 bytes |
| コンパイル時間 | 742 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 29,560 KB |
| 最終ジャッジ日時 | 2024-11-08 18:12:48 |
| 合計ジャッジ時間 | 12,811 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / 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