結果

問題 No.322 Geometry Dash
ユーザー pluto77pluto77
提出日時 2018-02-23 17:40:10
言語 Python2
(2.7.18)
結果
AC  
実行時間 377 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 30,648 KB
最終ジャッジ日時 2024-04-17 04:33:45
合計ジャッジ時間 13,723 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,812 KB
testcase_01 AC 11 ms
6,940 KB
testcase_02 AC 11 ms
6,944 KB
testcase_03 AC 11 ms
6,944 KB
testcase_04 AC 214 ms
28,412 KB
testcase_05 AC 262 ms
28,660 KB
testcase_06 AC 311 ms
28,628 KB
testcase_07 AC 338 ms
28,972 KB
testcase_08 AC 344 ms
29,708 KB
testcase_09 AC 272 ms
28,536 KB
testcase_10 AC 292 ms
28,752 KB
testcase_11 AC 326 ms
28,640 KB
testcase_12 AC 332 ms
29,112 KB
testcase_13 AC 338 ms
29,868 KB
testcase_14 AC 324 ms
28,756 KB
testcase_15 AC 337 ms
28,760 KB
testcase_16 AC 346 ms
28,756 KB
testcase_17 AC 343 ms
29,252 KB
testcase_18 AC 347 ms
29,844 KB
testcase_19 AC 318 ms
28,972 KB
testcase_20 AC 347 ms
29,336 KB
testcase_21 AC 348 ms
29,236 KB
testcase_22 AC 348 ms
29,576 KB
testcase_23 AC 377 ms
30,324 KB
testcase_24 AC 335 ms
29,820 KB
testcase_25 AC 343 ms
29,684 KB
testcase_26 AC 364 ms
29,848 KB
testcase_27 AC 368 ms
30,308 KB
testcase_28 AC 367 ms
30,648 KB
testcase_29 AC 274 ms
27,904 KB
testcase_30 AC 314 ms
30,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki322

n=int(raw_input())
t=map(int,raw_input().split())
d=map(int,raw_input().split())
a=[[i,1.0*t[i]/d[i]] for i in xrange(n)]
res=sorted(a,key=lambda x:x[1],reverse=True)
for i in xrange(n):
 print res[i][0]+1,
print
0