結果

問題 No.322 Geometry Dash
ユーザー rpy3cpprpy3cpp
提出日時 2015-12-15 00:28:34
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 231 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 29,288 KB
最終ジャッジ日時 2023-08-08 10:58:56
合計ジャッジ時間 9,776 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,796 KB
testcase_01 AC 16 ms
7,848 KB
testcase_02 AC 15 ms
7,780 KB
testcase_03 AC 16 ms
7,800 KB
testcase_04 AC 135 ms
26,052 KB
testcase_05 AC 162 ms
26,144 KB
testcase_06 AC 188 ms
26,808 KB
testcase_07 AC 203 ms
27,488 KB
testcase_08 AC 212 ms
27,532 KB
testcase_09 AC 167 ms
26,052 KB
testcase_10 AC 178 ms
26,324 KB
testcase_11 AC 201 ms
26,792 KB
testcase_12 AC 214 ms
27,608 KB
testcase_13 AC 218 ms
27,512 KB
testcase_14 AC 184 ms
26,208 KB
testcase_15 AC 200 ms
26,384 KB
testcase_16 AC 212 ms
26,208 KB
testcase_17 AC 229 ms
27,628 KB
testcase_18 AC 224 ms
27,440 KB
testcase_19 AC 203 ms
27,012 KB
testcase_20 AC 212 ms
27,072 KB
testcase_21 AC 219 ms
26,996 KB
testcase_22 AC 231 ms
27,656 KB
testcase_23 AC 229 ms
29,064 KB
testcase_24 AC 214 ms
27,700 KB
testcase_25 AC 215 ms
27,620 KB
testcase_26 AC 223 ms
27,760 KB
testcase_27 AC 230 ms
28,164 KB
testcase_28 AC 229 ms
28,896 KB
testcase_29 AC 172 ms
27,760 KB
testcase_30 AC 187 ms
29,288 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
Ts = list(map(int, input().split()))
Ds = list(map(int, input().split()))

tds = [t/d for t, d in zip(Ts, Ds)]
tdi = [(td, i) for i, td in enumerate(tds, 1)]
tdi.sort(reverse=True)
ans = [i for td, i in tdi]
print(*ans)
0