結果
| 問題 |
No.1280 Beyond C
|
| コンテスト | |
| ユーザー |
terrafarm
|
| 提出日時 | 2020-11-22 19:31:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 274 bytes |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 26,000 KB |
| 最終ジャッジ日時 | 2024-07-23 16:42:18 |
| 合計ジャッジ時間 | 3,564 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 16 |
ソースコード
from bisect import bisect_right
n, m, c = map(int, input().split())
a = list(map(int, input().split()))
a.sort()
b = list(map(int, input().split()))
b.sort()
ans = 0
for i in range(n):
ai = a[i]
c = m - bisect_right(b, c / ai)
ans += c
ans /= n * m
print(ans)
terrafarm