結果

問題 No.1280 Beyond C
ユーザー ayaoniayaoni
提出日時 2020-11-06 23:28:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 163 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 87,028 KB
実行使用メモリ 96,000 KB
最終ジャッジ日時 2023-09-29 19:40:55
合計ジャッジ時間 3,578 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,468 KB
testcase_01 AC 67 ms
71,360 KB
testcase_02 AC 66 ms
71,288 KB
testcase_03 AC 70 ms
71,028 KB
testcase_04 AC 68 ms
71,456 KB
testcase_05 AC 67 ms
71,432 KB
testcase_06 AC 68 ms
71,344 KB
testcase_07 AC 70 ms
71,508 KB
testcase_08 AC 68 ms
71,384 KB
testcase_09 AC 67 ms
71,404 KB
testcase_10 AC 68 ms
71,372 KB
testcase_11 AC 77 ms
76,080 KB
testcase_12 AC 69 ms
71,272 KB
testcase_13 AC 75 ms
75,992 KB
testcase_14 AC 75 ms
76,060 KB
testcase_15 AC 123 ms
90,372 KB
testcase_16 AC 108 ms
88,136 KB
testcase_17 AC 119 ms
90,936 KB
testcase_18 AC 124 ms
95,148 KB
testcase_19 AC 124 ms
95,160 KB
testcase_20 AC 158 ms
96,000 KB
testcase_21 AC 162 ms
95,884 KB
testcase_22 AC 163 ms
95,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from bisect import bisect_left
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))


N,M,C = MI()
A,B = LI(),LI()
B.sort()

ans = 0
for a in A:
    x = (C//a)+1
    index = bisect_left(B,x)
    ans += M-index
print(ans/(N*M))
0