結果

問題 No.1280 Beyond C
ユーザー 330Xs330Xs
提出日時 2022-02-06 16:00:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 198 ms / 2,000 ms
コード長 295 bytes
コンパイル時間 1,035 ms
コンパイル使用メモリ 86,996 KB
実行使用メモリ 108,180 KB
最終ジャッジ日時 2023-09-02 06:59:00
合計ジャッジ時間 4,502 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
71,756 KB
testcase_01 AC 93 ms
71,732 KB
testcase_02 AC 92 ms
71,656 KB
testcase_03 AC 94 ms
71,388 KB
testcase_04 AC 93 ms
71,380 KB
testcase_05 AC 93 ms
71,400 KB
testcase_06 AC 93 ms
71,796 KB
testcase_07 AC 93 ms
71,848 KB
testcase_08 AC 95 ms
71,752 KB
testcase_09 AC 94 ms
71,468 KB
testcase_10 AC 93 ms
71,672 KB
testcase_11 AC 103 ms
77,368 KB
testcase_12 AC 93 ms
71,708 KB
testcase_13 AC 102 ms
77,224 KB
testcase_14 AC 106 ms
77,388 KB
testcase_15 AC 155 ms
91,172 KB
testcase_16 AC 138 ms
89,076 KB
testcase_17 AC 151 ms
92,152 KB
testcase_18 AC 161 ms
108,180 KB
testcase_19 AC 160 ms
107,520 KB
testcase_20 AC 198 ms
107,588 KB
testcase_21 AC 192 ms
107,676 KB
testcase_22 AC 198 ms
107,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
from bisect import bisect_right
n,m,c = map(int,input().split())
a = list(map(int,input().split()))
b = list(map(int,input().split()))

b.sort()
ans = 0
for i in range(n):
    elem = c // a[i]
    ind = bisect_right(b,elem)
    ans += m - ind
print(ans / (n * m))
0