結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2020-11-21 16:37:12 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 111 ms / 2,000 ms |
| + 8µs | |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 592 ms |
| コンパイル使用メモリ | 95,724 KB |
| 実行使用メモリ | 116,436 KB |
| 最終ジャッジ日時 | 2026-08-24 04:11:30 |
| 合計ジャッジ時間 | 3,983 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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