結果

問題 No.1280 Beyond C
ユーザー 👑 H20H20
提出日時 2021-06-21 13:41:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 186 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 86,396 KB
実行使用メモリ 95,776 KB
最終ジャッジ日時 2023-09-05 01:52:11
合計ジャッジ時間 4,962 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
70,684 KB
testcase_01 AC 92 ms
71,108 KB
testcase_02 AC 76 ms
70,728 KB
testcase_03 AC 77 ms
71,128 KB
testcase_04 AC 79 ms
70,712 KB
testcase_05 AC 76 ms
70,680 KB
testcase_06 AC 78 ms
70,672 KB
testcase_07 AC 77 ms
71,100 KB
testcase_08 AC 76 ms
70,908 KB
testcase_09 AC 76 ms
71,104 KB
testcase_10 AC 75 ms
71,124 KB
testcase_11 AC 103 ms
75,980 KB
testcase_12 AC 75 ms
70,972 KB
testcase_13 AC 81 ms
75,556 KB
testcase_14 AC 80 ms
75,792 KB
testcase_15 AC 133 ms
89,724 KB
testcase_16 AC 122 ms
87,872 KB
testcase_17 AC 159 ms
90,388 KB
testcase_18 AC 146 ms
94,804 KB
testcase_19 AC 186 ms
94,696 KB
testcase_20 AC 179 ms
95,744 KB
testcase_21 AC 177 ms
95,628 KB
testcase_22 AC 181 ms
95,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
N,M,C = map(int,input().split())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
B.sort()
temp = 0
for a in A:
    ca = C//a
    temp += M - bisect.bisect_right(B,ca)
print(temp/M/N)
0