結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
8,076 KB
testcase_01 AC 13 ms
8,004 KB
testcase_02 AC 13 ms
8,152 KB
testcase_03 AC 12 ms
8,148 KB
testcase_04 AC 13 ms
8,148 KB
testcase_05 AC 12 ms
8,072 KB
testcase_06 AC 13 ms
8,160 KB
testcase_07 AC 12 ms
8,240 KB
testcase_08 AC 13 ms
8,108 KB
testcase_09 AC 13 ms
8,076 KB
testcase_10 AC 13 ms
8,080 KB
testcase_11 AC 14 ms
8,176 KB
testcase_12 AC 12 ms
8,140 KB
testcase_13 AC 14 ms
8,136 KB
testcase_14 AC 13 ms
8,344 KB
testcase_15 AC 87 ms
17,388 KB
testcase_16 AC 64 ms
16,672 KB
testcase_17 AC 78 ms
17,792 KB
testcase_18 AC 126 ms
23,352 KB
testcase_19 AC 126 ms
23,108 KB
testcase_20 AC 169 ms
23,036 KB
testcase_21 AC 167 ms
23,112 KB
testcase_22 AC 167 ms
23,260 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