結果
| 問題 | No.1280 Beyond C | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-12-22 18:41:38 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 177 ms / 2,000 ms | 
| コード長 | 265 bytes | 
| コンパイル時間 | 210 ms | 
| コンパイル使用メモリ | 81,908 KB | 
| 実行使用メモリ | 97,824 KB | 
| 最終ジャッジ日時 | 2024-09-21 14:17:07 | 
| 合計ジャッジ時間 | 3,775 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 23 | 
ソースコード
from bisect import bisect_right
N,M,C = map(int,input().split())
A = sorted(list(map(int,input().split())))
B = sorted(list(map(int,input().split())))
cnt = 0
for i in range(N):
    a = A[i]
    b = C//a
    ind = bisect_right(B,b)
    cnt += M-ind
print(cnt/(N*M))
            
            
            
        