結果
| 問題 | No.1280 Beyond C | 
| コンテスト | |
| ユーザー |  titia | 
| 提出日時 | 2020-11-06 21:28:44 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 213 ms / 2,000 ms | 
| コード長 | 222 bytes | 
| コンパイル時間 | 121 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 26,076 KB | 
| 最終ジャッジ日時 | 2024-07-22 12:12:26 | 
| 合計ジャッジ時間 | 2,769 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 23 | 
ソースコード
import sys
input = sys.stdin.readline
import bisect
N,M,C=map(int,input().split())
A=sorted(map(int,input().split()))
B=sorted(map(int,input().split()))
ANS=0
for a in A:
    ANS+=bisect.bisect(B,C//a)
print(1-ANS/N/M)
            
            
            
        