結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2024-07-17 09:33:15 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 197 ms / 2,000 ms |
| + 865µs | |
| コード長 | 197 bytes |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 30,084 KB |
| 最終ジャッジ日時 | 2026-08-15 09:39:16 |
| 合計ジャッジ時間 | 5,814 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
import bisect
N,M,C=map(int,input().split())
A=list(map(int,input().split()))
B=list(map(int,input().split()))
A.sort()
ans=0
for b in B:
ans+=N-bisect.bisect_right(A,C//b)
ans/=N*M
print(ans)
vwxyz