結果
問題 | No.1280 Beyond C |
ユーザー |
![]() |
提出日時 | 2025-03-20 21:08:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 139 ms / 2,000 ms |
コード長 | 327 bytes |
コンパイル時間 | 277 ms |
コンパイル使用メモリ | 82,900 KB |
実行使用メモリ | 98,004 KB |
最終ジャッジ日時 | 2025-03-20 21:09:00 |
合計ジャッジ時間 | 2,768 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
import bisectn, m, c = map(int, input().split())a = list(map(int, input().split()))b = list(map(int, input().split()))b.sort()total = 0for ai in a:x = c // aithreshold = x + 1pos = bisect.bisect_left(b, threshold)total += m - posprobability = total / (n * m)print("{0:.10f}".format(probability))