結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-06 23:32:53 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 105 ms / 2,000 ms |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 85,172 KB |
| 実行使用メモリ | 111,488 KB |
| 最終ジャッジ日時 | 2026-04-03 09:19:47 |
| 合計ジャッジ時間 | 2,084 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge1_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()))
b=sorted(b)
cnt=0
for i in range(n):
pos=bisect.bisect_right(b,c//a[i])
cnt+=m-pos
print(cnt/(n*m))