結果
| 問題 |
No.1280 Beyond C
|
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2020-11-21 16:37:12 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 124 ms / 2,000 ms |
| コード長 | 267 bytes |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 82,172 KB |
| 実行使用メモリ | 98,616 KB |
| 最終ジャッジ日時 | 2024-07-23 15:45:18 |
| 合計ジャッジ時間 | 2,648 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
n, m, c = map(int, input().split())
a = sorted(list(map(int, input().split())))
b = sorted(list(map(int, input().split())), reverse=True)
ans = 0
index = 0
for x in a:
while index < m and x * b[index] > c:
index += 1
ans += index
print(ans / (n * m))
trineutron