結果

問題 No.1280 Beyond C
ユーザー roarisroaris
提出日時 2020-11-14 01:48:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 168 ms / 2,000 ms
コード長 253 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 96,560 KB
最終ジャッジ日時 2023-09-30 04:38:18
合計ジャッジ時間 3,976 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,356 KB
testcase_01 AC 60 ms
71,296 KB
testcase_02 AC 59 ms
71,196 KB
testcase_03 AC 64 ms
71,312 KB
testcase_04 AC 65 ms
71,332 KB
testcase_05 AC 62 ms
71,248 KB
testcase_06 AC 61 ms
71,236 KB
testcase_07 AC 62 ms
71,056 KB
testcase_08 AC 62 ms
71,188 KB
testcase_09 AC 61 ms
71,308 KB
testcase_10 AC 60 ms
71,248 KB
testcase_11 AC 66 ms
75,916 KB
testcase_12 AC 66 ms
71,284 KB
testcase_13 AC 69 ms
76,144 KB
testcase_14 AC 69 ms
76,208 KB
testcase_15 AC 123 ms
89,000 KB
testcase_16 AC 106 ms
87,484 KB
testcase_17 AC 123 ms
89,724 KB
testcase_18 AC 116 ms
94,892 KB
testcase_19 AC 116 ms
95,080 KB
testcase_20 AC 168 ms
96,560 KB
testcase_21 AC 164 ms
96,220 KB
testcase_22 AC 164 ms
96,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
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()
c = 0

for ai in a:
    c += M-bisect_right(b, C//ai)

print(c/N/M)
0