結果

問題 No.322 Geometry Dash
ユーザー TawaraTawara
提出日時 2015-12-16 22:40:47
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 510 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 76,956 KB
実行使用メモリ 98,096 KB
最終ジャッジ日時 2024-04-26 05:35:15
合計ジャッジ時間 15,063 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
75,660 KB
testcase_01 AC 78 ms
75,680 KB
testcase_02 AC 79 ms
75,692 KB
testcase_03 AC 80 ms
75,688 KB
testcase_04 AC 163 ms
97,416 KB
testcase_05 AC 268 ms
97,316 KB
testcase_06 AC 330 ms
97,308 KB
testcase_07 AC 391 ms
97,568 KB
testcase_08 AC 421 ms
97,832 KB
testcase_09 AC 267 ms
97,292 KB
testcase_10 AC 334 ms
97,344 KB
testcase_11 AC 385 ms
97,312 KB
testcase_12 AC 429 ms
97,152 KB
testcase_13 AC 458 ms
97,700 KB
testcase_14 AC 335 ms
97,340 KB
testcase_15 AC 381 ms
97,532 KB
testcase_16 AC 447 ms
97,312 KB
testcase_17 AC 477 ms
97,820 KB
testcase_18 AC 482 ms
97,568 KB
testcase_19 AC 386 ms
97,564 KB
testcase_20 AC 432 ms
97,912 KB
testcase_21 AC 463 ms
97,836 KB
testcase_22 AC 488 ms
97,692 KB
testcase_23 AC 492 ms
97,692 KB
testcase_24 AC 422 ms
98,084 KB
testcase_25 AC 446 ms
97,836 KB
testcase_26 AC 492 ms
98,096 KB
testcase_27 AC 510 ms
97,948 KB
testcase_28 AC 510 ms
97,800 KB
testcase_29 AC 417 ms
93,324 KB
testcase_30 AC 434 ms
95,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
T = map(int,raw_input().split())
D = map(int,raw_input().split())
c = lambda a,b:T[a]*(D[a]+D[b]*2+2)+T[b]*(D[b]+2)
f = lambda l,r:c(r,l)-c(l,r)
print " ".join(map(lambda x:str(x+1),sorted(xrange(N),cmp=f)))
0