結果
| 問題 |
No.1280 Beyond C
|
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2024-07-17 09:33:15 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 229 ms / 2,000 ms |
| コード長 | 197 bytes |
| コンパイル時間 | 228 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 25,992 KB |
| 最終ジャッジ日時 | 2024-07-17 09:33:25 |
| 合計ジャッジ時間 | 3,045 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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