結果

問題 No.322 Geometry Dash
ユーザー TawaraTawara
提出日時 2015-12-16 23:31:30
言語 Python2
(2.7.18)
結果
AC  
実行時間 538 ms / 2,000 ms
コード長 139 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 19,652 KB
最終ジャッジ日時 2024-04-26 05:39:46
合計ジャッジ時間 15,120 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,528 KB
testcase_01 AC 13 ms
6,528 KB
testcase_02 AC 12 ms
6,528 KB
testcase_03 AC 13 ms
6,528 KB
testcase_04 AC 137 ms
18,052 KB
testcase_05 AC 279 ms
18,156 KB
testcase_06 AC 348 ms
18,128 KB
testcase_07 AC 420 ms
17,584 KB
testcase_08 AC 446 ms
18,084 KB
testcase_09 AC 272 ms
18,036 KB
testcase_10 AC 338 ms
18,192 KB
testcase_11 AC 406 ms
18,028 KB
testcase_12 AC 461 ms
17,600 KB
testcase_13 AC 484 ms
18,132 KB
testcase_14 AC 350 ms
17,996 KB
testcase_15 AC 407 ms
18,148 KB
testcase_16 AC 462 ms
18,120 KB
testcase_17 AC 505 ms
17,636 KB
testcase_18 AC 528 ms
18,140 KB
testcase_19 AC 403 ms
17,784 KB
testcase_20 AC 455 ms
17,852 KB
testcase_21 AC 499 ms
17,872 KB
testcase_22 AC 522 ms
17,960 KB
testcase_23 AC 530 ms
18,456 KB
testcase_24 AC 454 ms
18,204 KB
testcase_25 AC 481 ms
18,316 KB
testcase_26 AC 517 ms
18,380 KB
testcase_27 AC 537 ms
18,564 KB
testcase_28 AC 538 ms
19,140 KB
testcase_29 AC 454 ms
18,592 KB
testcase_30 AC 499 ms
19,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=range(input());I=lambda:map(int,raw_input().split());T=I();D=I()
S.sort(lambda a,b:T[b]*D[a]-T[a]*D[b])
print" ".join(str(s+1)for s in S)
0