結果

問題 No.1280 Beyond C
ユーザー 👑 timitimi
提出日時 2020-11-08 20:11:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 23,284 KB
最終ジャッジ日時 2023-09-29 21:39:49
合計ジャッジ時間 2,554 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
8,184 KB
testcase_01 AC 13 ms
8,184 KB
testcase_02 AC 13 ms
8,072 KB
testcase_03 AC 12 ms
8,152 KB
testcase_04 AC 13 ms
8,188 KB
testcase_05 AC 13 ms
8,204 KB
testcase_06 AC 13 ms
8,244 KB
testcase_07 AC 12 ms
8,184 KB
testcase_08 AC 12 ms
8,064 KB
testcase_09 AC 13 ms
8,216 KB
testcase_10 AC 12 ms
8,208 KB
testcase_11 AC 14 ms
8,336 KB
testcase_12 AC 13 ms
8,112 KB
testcase_13 AC 13 ms
8,360 KB
testcase_14 AC 14 ms
8,232 KB
testcase_15 AC 105 ms
17,340 KB
testcase_16 AC 69 ms
16,592 KB
testcase_17 AC 88 ms
17,648 KB
testcase_18 AC 150 ms
23,284 KB
testcase_19 WA -
testcase_20 AC 204 ms
23,084 KB
testcase_21 AC 195 ms
23,052 KB
testcase_22 AC 202 ms
23,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M,C=map(int, input().split())
A=list(map(int, input().split()))
B=list(map(int, input().split()))
A=sorted(A)
B=sorted(B)
import bisect
cnt=0
for i in A:
  d=bisect.bisect_right(B,C/i)
  cnt+=M-d
print(cnt/(N*M))
0