結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
330Xs
|
| 提出日時 | 2022-02-06 16:00:28 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 129 ms / 2,000 ms |
| コード長 | 295 bytes |
| 記録 | |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 110,348 KB |
| 最終ジャッジ日時 | 2026-03-04 15:00:43 |
| 合計ジャッジ時間 | 1,979 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
from collections import Counter
from bisect import bisect_right
n,m,c = map(int,input().split())
a = list(map(int,input().split()))
b = list(map(int,input().split()))
b.sort()
ans = 0
for i in range(n):
elem = c // a[i]
ind = bisect_right(b,elem)
ans += m - ind
print(ans / (n * m))
330Xs