結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 13 ms
8,212 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 13 ms
8,136 KB
testcase_06 AC 14 ms
8,008 KB
testcase_07 AC 13 ms
8,076 KB
testcase_08 AC 14 ms
8,208 KB
testcase_09 AC 16 ms
8,132 KB
testcase_10 AC 14 ms
8,000 KB
testcase_11 AC 16 ms
8,200 KB
testcase_12 AC 13 ms
8,124 KB
testcase_13 AC 13 ms
8,172 KB
testcase_14 AC 13 ms
8,244 KB
testcase_15 AC 107 ms
17,400 KB
testcase_16 AC 70 ms
16,640 KB
testcase_17 AC 90 ms
17,744 KB
testcase_18 WA -
testcase_19 AC 168 ms
23,232 KB
testcase_20 AC 210 ms
23,128 KB
testcase_21 AC 201 ms
23,048 KB
testcase_22 AC 215 ms
23,252 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_left(B,C/i)
  cnt+=M-d
print(cnt/(N*M))
0