結果

問題 No.1280 Beyond C
ユーザー uni_pythonuni_python
提出日時 2020-11-06 21:37:03
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 346 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 82,336 KB
実行使用メモリ 96,588 KB
最終ジャッジ日時 2024-07-22 12:23:22
合計ジャッジ時間 2,563 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))


N,M,C=MI()
A=LI()
B=LI()
A.sort()
B.sort()


import bisect

ans=0
for i in range(N):
    a=A[i]
    t=(C+0.1)/a
    num=bisect.bisect_right(B,t)
    ans+=M-num
    
print(ans/(N*M))
    
0