結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-27 19:34:14 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 436 bytes |
| 記録 | |
| コンパイル時間 | 579 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 25,496 KB |
| 最終ジャッジ日時 | 2026-04-17 06:17:22 |
| 合計ジャッジ時間 | 7,221 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 23 |
ソースコード
N,M,C = map(int,input().split())
a = list(map(int,input().split()))
b = lsit(map(int,input().split()))
a.sort()
b.sort()
def tansaku(x):
if x * b[-1] < C:
return N
end = N-1
start = -1
while end - start > 1:
mid = (start + end) // 2
if x * b[mid] >= C:
end = mid
else:
start = mid
return end
ans = 0
for i in a:
ans += N - tansaku(i)
print(ans / (H * W))