結果

問題 No.1280 Beyond C
ユーザー tanon710
提出日時 2020-11-06 23:32:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 145 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 97,664 KB
最終ジャッジ日時 2024-07-22 13:46:35
合計ジャッジ時間 2,649 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect

n,m,c=map(int,input().split())
a=list(map(int,input().split()))
b=list(map(int,input().split()))
b=sorted(b)
cnt=0
for i in range(n):
    pos=bisect.bisect_right(b,c//a[i])
    cnt+=m-pos
print(cnt/(n*m))
0