結果

問題 No.322 Geometry Dash
ユーザー TawaraTawara
提出日時 2015-12-16 22:40:47
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 466 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 559 ms
コンパイル使用メモリ 77,892 KB
実行使用メモリ 99,700 KB
最終ジャッジ日時 2023-08-08 12:40:50
合計ジャッジ時間 15,773 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
76,504 KB
testcase_01 AC 74 ms
76,576 KB
testcase_02 AC 75 ms
76,140 KB
testcase_03 AC 73 ms
76,360 KB
testcase_04 AC 141 ms
99,204 KB
testcase_05 AC 250 ms
99,184 KB
testcase_06 AC 326 ms
99,048 KB
testcase_07 AC 356 ms
99,300 KB
testcase_08 AC 389 ms
99,700 KB
testcase_09 AC 260 ms
99,204 KB
testcase_10 AC 309 ms
99,284 KB
testcase_11 AC 371 ms
99,036 KB
testcase_12 AC 421 ms
98,940 KB
testcase_13 AC 424 ms
99,432 KB
testcase_14 AC 311 ms
99,112 KB
testcase_15 AC 382 ms
99,352 KB
testcase_16 AC 405 ms
99,188 KB
testcase_17 AC 437 ms
99,568 KB
testcase_18 AC 453 ms
99,200 KB
testcase_19 AC 365 ms
99,204 KB
testcase_20 AC 397 ms
99,176 KB
testcase_21 AC 428 ms
99,536 KB
testcase_22 AC 433 ms
99,620 KB
testcase_23 AC 456 ms
99,384 KB
testcase_24 AC 397 ms
99,436 KB
testcase_25 AC 432 ms
99,184 KB
testcase_26 AC 439 ms
99,488 KB
testcase_27 AC 439 ms
99,368 KB
testcase_28 AC 466 ms
99,300 KB
testcase_29 AC 365 ms
95,248 KB
testcase_30 AC 409 ms
97,148 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