結果
問題 |
No.1280 Beyond C
|
ユーザー |
|
提出日時 | 2020-11-06 22:28:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 147 ms / 2,000 ms |
コード長 | 252 bytes |
コンパイル時間 | 467 ms |
コンパイル使用メモリ | 82,544 KB |
実行使用メモリ | 97,920 KB |
最終ジャッジ日時 | 2024-07-22 13:12:02 |
合計ジャッジ時間 | 3,342 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
import bisect N,M,C = map(int,input().split()) a = list(map(int,input().split())) b = list(map(int,input().split())) b.sort() res = 0 for i in range(N): limit = C//a[i] idx = bisect.bisect_right(b,limit) res += idx print((N*M-res)/(N*M))