結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-22 18:41:38 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 133 ms / 2,000 ms |
| + 500µs | |
| コード長 | 265 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 95,560 KB |
| 実行使用メモリ | 115,808 KB |
| 最終ジャッジ日時 | 2026-09-01 16:32:56 |
| 合計ジャッジ時間 | 3,863 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
from bisect import bisect_right
N,M,C = map(int,input().split())
A = sorted(list(map(int,input().split())))
B = sorted(list(map(int,input().split())))
cnt = 0
for i in range(N):
a = A[i]
b = C//a
ind = bisect_right(B,b)
cnt += M-ind
print(cnt/(N*M))