結果

問題 No.1280 Beyond C
ユーザー aqua_tenhouaqua_tenhou
提出日時 2020-11-06 21:36:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 277 bytes
コンパイル時間 517 ms
コンパイル使用メモリ 10,504 KB
実行使用メモリ 25,500 KB
最終ジャッジ日時 2023-09-29 18:21:06
合計ジャッジ時間 4,242 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
9,056 KB
testcase_01 AC 19 ms
8,888 KB
testcase_02 AC 19 ms
9,120 KB
testcase_03 AC 19 ms
8,920 KB
testcase_04 AC 18 ms
8,948 KB
testcase_05 AC 18 ms
8,952 KB
testcase_06 AC 18 ms
8,920 KB
testcase_07 AC 18 ms
9,016 KB
testcase_08 AC 19 ms
8,964 KB
testcase_09 AC 19 ms
9,016 KB
testcase_10 AC 18 ms
9,012 KB
testcase_11 AC 20 ms
9,160 KB
testcase_12 AC 19 ms
9,020 KB
testcase_13 AC 19 ms
9,076 KB
testcase_14 AC 20 ms
9,168 KB
testcase_15 AC 203 ms
17,556 KB
testcase_16 AC 123 ms
17,436 KB
testcase_17 AC 169 ms
18,488 KB
testcase_18 AC 315 ms
25,296 KB
testcase_19 WA -
testcase_20 AC 432 ms
23,860 KB
testcase_21 AC 404 ms
23,892 KB
testcase_22 AC 434 ms
24,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
import decimal

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 = decimal.Decimal(c/x)
    p = bisect.bisect_right(b,k)
    ans += m-p
    #print(k,p)
print(ans/(n*m))
0