結果

問題 No.1280 Beyond C
ユーザー aqua_tenhou
提出日時 2020-11-06 21:35:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 342 ms
コンパイル使用メモリ 82,160 KB
実行使用メモリ 97,664 KB
最終ジャッジ日時 2024-07-22 12:21:04
合計ジャッジ時間 3,037 ms
ジャッジサーバーID
(参考情報)
judge5 / 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()))
b = sorted(b)

ans = 0
for x in a:
    k = c/x
    p = bisect.bisect_right(b,k)
    ans += m-p
    #print(k,p)
print(ans/(n*m))
0