結果

問題 No.322 Geometry Dash
ユーザー fumofumofunifumofumofuni
提出日時 2021-09-14 01:43:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 358 ms / 2,000 ms
コード長 231 bytes
コンパイル時間 1,757 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 103,388 KB
最終ジャッジ日時 2023-09-08 10:33:38
合計ジャッジ時間 13,169 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,364 KB
testcase_01 AC 73 ms
71,428 KB
testcase_02 AC 70 ms
71,252 KB
testcase_03 AC 75 ms
71,124 KB
testcase_04 AC 153 ms
102,912 KB
testcase_05 AC 220 ms
103,036 KB
testcase_06 AC 265 ms
102,936 KB
testcase_07 AC 294 ms
103,136 KB
testcase_08 AC 316 ms
103,160 KB
testcase_09 AC 226 ms
102,768 KB
testcase_10 AC 257 ms
102,880 KB
testcase_11 AC 291 ms
102,984 KB
testcase_12 AC 318 ms
102,600 KB
testcase_13 AC 327 ms
103,204 KB
testcase_14 AC 267 ms
103,064 KB
testcase_15 AC 297 ms
102,708 KB
testcase_16 AC 318 ms
103,048 KB
testcase_17 AC 338 ms
102,468 KB
testcase_18 AC 336 ms
102,948 KB
testcase_19 AC 291 ms
103,124 KB
testcase_20 AC 326 ms
102,860 KB
testcase_21 AC 338 ms
102,972 KB
testcase_22 AC 358 ms
102,928 KB
testcase_23 AC 345 ms
102,876 KB
testcase_24 AC 308 ms
102,964 KB
testcase_25 AC 322 ms
102,896 KB
testcase_26 AC 334 ms
102,976 KB
testcase_27 AC 339 ms
103,032 KB
testcase_28 AC 343 ms
103,388 KB
testcase_29 AC 299 ms
97,936 KB
testcase_30 AC 302 ms
100,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
T=list(map(int,input().split()))
D=list(map(int,input().split()))
ans=list()
for i in range(N):
    ans.append((T[i]/D[i],i+1))
list.sort(ans)
list.reverse(ans)
for i in range(N):
    print(ans[i][1],end=' ')
print()
0