結果

問題 No.1280 Beyond C
ユーザー rlangevinrlangevin
提出日時 2023-01-01 23:06:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 189 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 96,528 KB
最終ジャッジ日時 2023-08-17 23:13:20
合計ジャッジ時間 5,443 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,400 KB
testcase_01 AC 72 ms
71,108 KB
testcase_02 AC 73 ms
71,224 KB
testcase_03 AC 73 ms
71,316 KB
testcase_04 AC 74 ms
71,288 KB
testcase_05 AC 77 ms
71,316 KB
testcase_06 AC 75 ms
71,228 KB
testcase_07 AC 71 ms
71,288 KB
testcase_08 AC 73 ms
71,136 KB
testcase_09 AC 73 ms
71,128 KB
testcase_10 AC 73 ms
71,212 KB
testcase_11 AC 86 ms
76,168 KB
testcase_12 AC 72 ms
71,168 KB
testcase_13 AC 78 ms
75,844 KB
testcase_14 AC 80 ms
75,960 KB
testcase_15 AC 139 ms
90,168 KB
testcase_16 AC 122 ms
88,152 KB
testcase_17 AC 136 ms
90,648 KB
testcase_18 AC 137 ms
95,336 KB
testcase_19 AC 135 ms
94,936 KB
testcase_20 AC 189 ms
96,500 KB
testcase_21 AC 185 ms
96,528 KB
testcase_22 AC 188 ms
96,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from bisect import *

N, M, C = map(int, input().split())
A = list(map(int, input().split()))
B = list(map(int, input().split()))
A.sort()
B.sort()
ans = 0
for a in A:
    v = C//a
    ans += M - bisect_right(B, v)
    # print(a, v)
print(ans/N/M)
0