結果

問題 No.1280 Beyond C
ユーザー O2MTO2MT
提出日時 2020-11-17 19:30:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 283 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 23,388 KB
最終ジャッジ日時 2023-09-30 14:23:36
合計ジャッジ時間 2,962 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,904 KB
testcase_01 AC 16 ms
8,056 KB
testcase_02 AC 16 ms
7,976 KB
testcase_03 AC 16 ms
7,976 KB
testcase_04 AC 16 ms
7,940 KB
testcase_05 AC 16 ms
7,976 KB
testcase_06 AC 16 ms
7,824 KB
testcase_07 AC 16 ms
7,992 KB
testcase_08 AC 16 ms
8,056 KB
testcase_09 AC 16 ms
7,884 KB
testcase_10 AC 16 ms
8,052 KB
testcase_11 AC 18 ms
7,916 KB
testcase_12 AC 16 ms
8,052 KB
testcase_13 AC 17 ms
8,076 KB
testcase_14 AC 17 ms
7,904 KB
testcase_15 AC 126 ms
17,132 KB
testcase_16 AC 86 ms
16,672 KB
testcase_17 AC 108 ms
17,776 KB
testcase_18 AC 178 ms
23,356 KB
testcase_19 WA -
testcase_20 AC 264 ms
23,060 KB
testcase_21 AC 244 ms
23,124 KB
testcase_22 AC 257 ms
23,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from bisect import bisect_right
N,M,C = map(int,input().split())
A = list(map(int,input().split()))
B = list(map(int,input().split()))

A.sort()
B.sort()
count = 0
for i in range(N):
    b = bisect_right(B,C/A[i])
    if b == M:
        continue
    count += (M-b)
print(count/(N*M))
0