結果

問題 No.1280 Beyond C
ユーザー aqua_tenhouaqua_tenhou
提出日時 2020-11-06 21:35:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 343 ms
コンパイル使用メモリ 87,028 KB
実行使用メモリ 97,204 KB
最終ジャッジ日時 2023-09-29 18:19:52
合計ジャッジ時間 3,847 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,472 KB
testcase_01 AC 64 ms
71,392 KB
testcase_02 AC 67 ms
71,444 KB
testcase_03 AC 65 ms
71,408 KB
testcase_04 AC 67 ms
71,276 KB
testcase_05 AC 66 ms
71,160 KB
testcase_06 AC 65 ms
70,940 KB
testcase_07 AC 63 ms
70,932 KB
testcase_08 AC 65 ms
71,412 KB
testcase_09 AC 65 ms
71,444 KB
testcase_10 AC 65 ms
71,508 KB
testcase_11 AC 72 ms
76,228 KB
testcase_12 AC 64 ms
71,244 KB
testcase_13 AC 68 ms
76,044 KB
testcase_14 AC 71 ms
76,188 KB
testcase_15 AC 129 ms
91,088 KB
testcase_16 AC 110 ms
88,568 KB
testcase_17 AC 123 ms
91,588 KB
testcase_18 AC 126 ms
96,236 KB
testcase_19 WA -
testcase_20 AC 177 ms
97,204 KB
testcase_21 AC 160 ms
96,968 KB
testcase_22 AC 179 ms
97,004 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)

ans = 0
for x in a:
    k = c/x
    p = bisect.bisect_right(b,k)
    ans += m-p
    #print(k,p)
print(ans/(n*m))
0