結果

問題 No.1280 Beyond C
ユーザー tanon710tanon710
提出日時 2020-11-06 23:32:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 162 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 535 ms
コンパイル使用メモリ 86,988 KB
実行使用メモリ 96,800 KB
最終ジャッジ日時 2023-09-29 19:41:37
合計ジャッジ時間 3,557 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
70,864 KB
testcase_01 AC 68 ms
70,824 KB
testcase_02 AC 66 ms
71,240 KB
testcase_03 AC 70 ms
71,256 KB
testcase_04 AC 64 ms
70,936 KB
testcase_05 AC 65 ms
71,144 KB
testcase_06 AC 65 ms
71,144 KB
testcase_07 AC 68 ms
71,320 KB
testcase_08 AC 68 ms
71,432 KB
testcase_09 AC 66 ms
71,188 KB
testcase_10 AC 67 ms
71,128 KB
testcase_11 AC 71 ms
75,732 KB
testcase_12 AC 67 ms
71,272 KB
testcase_13 AC 72 ms
75,924 KB
testcase_14 AC 74 ms
75,976 KB
testcase_15 AC 122 ms
91,008 KB
testcase_16 AC 109 ms
88,988 KB
testcase_17 AC 119 ms
91,364 KB
testcase_18 AC 129 ms
95,868 KB
testcase_19 AC 126 ms
96,144 KB
testcase_20 AC 160 ms
96,504 KB
testcase_21 AC 160 ms
96,800 KB
testcase_22 AC 162 ms
96,716 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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))
0