結果

問題 No.322 Geometry Dash
ユーザー tjaketjake
提出日時 2015-12-16 21:09:11
言語 Python2
(2.7.18)
結果
AC  
実行時間 380 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 29,816 KB
最終ジャッジ日時 2024-04-26 05:28:18
合計ジャッジ時間 12,276 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,812 KB
testcase_01 AC 11 ms
6,820 KB
testcase_02 AC 12 ms
6,940 KB
testcase_03 AC 11 ms
6,944 KB
testcase_04 AC 187 ms
25,392 KB
testcase_05 AC 226 ms
26,024 KB
testcase_06 AC 273 ms
26,892 KB
testcase_07 AC 298 ms
27,888 KB
testcase_08 AC 324 ms
28,488 KB
testcase_09 AC 219 ms
25,516 KB
testcase_10 AC 259 ms
26,420 KB
testcase_11 AC 304 ms
27,416 KB
testcase_12 AC 331 ms
28,144 KB
testcase_13 AC 373 ms
28,900 KB
testcase_14 AC 260 ms
25,864 KB
testcase_15 AC 302 ms
26,380 KB
testcase_16 AC 343 ms
27,268 KB
testcase_17 AC 358 ms
28,292 KB
testcase_18 AC 375 ms
28,632 KB
testcase_19 AC 289 ms
26,320 KB
testcase_20 AC 335 ms
26,972 KB
testcase_21 AC 363 ms
27,888 KB
testcase_22 AC 372 ms
28,492 KB
testcase_23 AC 380 ms
29,364 KB
testcase_24 AC 326 ms
26,816 KB
testcase_25 AC 343 ms
27,448 KB
testcase_26 AC 374 ms
28,248 KB
testcase_27 AC 372 ms
29,096 KB
testcase_28 AC 378 ms
29,816 KB
testcase_29 AC 286 ms
27,456 KB
testcase_30 AC 309 ms
29,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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))
0