結果

問題 No.1280 Beyond C
ユーザー chineristACchineristAC
提出日時 2020-11-06 22:28:48
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 179 ms / 2,000 ms
コード長 252 bytes
コンパイル時間 645 ms
コンパイル使用メモリ 87,108 KB
実行使用メモリ 96,120 KB
最終ジャッジ日時 2023-09-29 19:07:34
合計ジャッジ時間 4,024 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,364 KB
testcase_01 AC 71 ms
71,288 KB
testcase_02 AC 75 ms
71,324 KB
testcase_03 AC 74 ms
71,320 KB
testcase_04 AC 74 ms
71,080 KB
testcase_05 AC 76 ms
71,408 KB
testcase_06 AC 74 ms
71,340 KB
testcase_07 AC 72 ms
71,300 KB
testcase_08 AC 75 ms
71,516 KB
testcase_09 AC 75 ms
71,520 KB
testcase_10 AC 77 ms
71,460 KB
testcase_11 AC 83 ms
76,256 KB
testcase_12 AC 76 ms
71,128 KB
testcase_13 AC 82 ms
76,208 KB
testcase_14 AC 83 ms
76,240 KB
testcase_15 AC 133 ms
90,672 KB
testcase_16 AC 117 ms
88,180 KB
testcase_17 AC 130 ms
90,888 KB
testcase_18 AC 139 ms
95,588 KB
testcase_19 AC 136 ms
95,324 KB
testcase_20 AC 176 ms
96,116 KB
testcase_21 AC 173 ms
96,120 KB
testcase_22 AC 179 ms
95,964 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()
res = 0
for i in range(N):
    limit = C//a[i]
    idx = bisect.bisect_right(b,limit)
    res += idx

print((N*M-res)/(N*M))
0