結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-17 01:30:20 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 225 ms / 2,000 ms |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 347 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 29,252 KB |
| 最終ジャッジ日時 | 2026-04-08 17:43:19 |
| 合計ジャッジ時間 | 5,124 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
import bisect
N,M,C = map(int,input().split())
lsa = list(map(int,input().split()))
lsb = list(map(int,input().split()))
lsa.sort()
lsb.sort()
k = 0
for i in range(M):
f = C//lsb[i]
l = bisect.bisect_right(lsa,f)
k += N-l
print(k/(N*M))