結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2020-11-21 16:37:12 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 93 ms / 2,000 ms |
| + 274µs | |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 65,532 KB |
| 実行使用メモリ | 83,864 KB |
| 最終ジャッジ日時 | 2026-10-14 11:04:15 |
| 合計ジャッジ時間 | 3,839 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
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