結果

問題 No.1280 Beyond C
ユーザー 330Xs
提出日時 2022-02-06 16:00:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 149 ms / 2,000 ms
コード長 295 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 94,736 KB
最終ジャッジ日時 2024-06-11 13:46:30
合計ジャッジ時間 2,831 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
from bisect import bisect_right
n,m,c = map(int,input().split())
a = list(map(int,input().split()))
b = list(map(int,input().split()))

b.sort()
ans = 0
for i in range(n):
    elem = c // a[i]
    ind = bisect_right(b,elem)
    ans += m - ind
print(ans / (n * m))
0