結果

問題 No.322 Geometry Dash
ユーザー rlangevinrlangevin
提出日時 2023-09-07 08:52:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 366 ms / 2,000 ms
コード長 225 bytes
コンパイル時間 2,017 ms
コンパイル使用メモリ 86,688 KB
実行使用メモリ 103,040 KB
最終ジャッジ日時 2023-09-07 08:52:18
合計ジャッジ時間 14,390 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,220 KB
testcase_01 AC 71 ms
71,044 KB
testcase_02 AC 71 ms
71,188 KB
testcase_03 AC 72 ms
71,248 KB
testcase_04 AC 155 ms
102,548 KB
testcase_05 AC 227 ms
102,812 KB
testcase_06 AC 272 ms
102,768 KB
testcase_07 AC 300 ms
102,828 KB
testcase_08 AC 349 ms
102,888 KB
testcase_09 AC 229 ms
102,820 KB
testcase_10 AC 268 ms
102,560 KB
testcase_11 AC 299 ms
102,624 KB
testcase_12 AC 316 ms
102,632 KB
testcase_13 AC 335 ms
103,040 KB
testcase_14 AC 263 ms
102,720 KB
testcase_15 AC 293 ms
102,420 KB
testcase_16 AC 327 ms
102,672 KB
testcase_17 AC 329 ms
102,436 KB
testcase_18 AC 335 ms
102,908 KB
testcase_19 AC 298 ms
102,684 KB
testcase_20 AC 315 ms
102,744 KB
testcase_21 AC 341 ms
102,624 KB
testcase_22 AC 366 ms
102,672 KB
testcase_23 AC 356 ms
102,864 KB
testcase_24 AC 315 ms
102,716 KB
testcase_25 AC 356 ms
102,476 KB
testcase_26 AC 345 ms
102,912 KB
testcase_27 AC 343 ms
102,772 KB
testcase_28 AC 348 ms
102,920 KB
testcase_29 AC 283 ms
97,564 KB
testcase_30 AC 309 ms
100,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
T = list(map(int, input().split()))
D = list(map(int, input().split()))
temp, ans = [], []
for i in range(N):
    temp.append((-T[i]/D[i], i + 1))
temp.sort()

for _, t in temp:
    ans.append(t)

print(*ans)
0