結果

問題 No.322 Geometry Dash
ユーザー pluto77pluto77
提出日時 2018-02-23 17:40:10
言語 Python2
(2.7.18)
結果
AC  
実行時間 342 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 909 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 30,520 KB
最終ジャッジ日時 2024-10-08 15:13:05
合計ジャッジ時間 13,187 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

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