結果

問題 No.1280 Beyond C
ユーザー NoaSaberNoaSaber
提出日時 2021-04-02 21:57:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 82,036 KB
実行使用メモリ 97,940 KB
最終ジャッジ日時 2024-12-23 19:14:15
合計ジャッジ時間 3,171 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
N,M,C=map(int,input().split())
a=list(map(int,input().split()))
b=list(map(int,input().split()))
a.sort()
b.sort()
ans=0
for i in a:
    tmp=C/i
    ans+=len(b)-bisect.bisect_right(b,tmp)
print(ans/len(a)/len(b))
0