結果

問題 No.1280 Beyond C
ユーザー tanon710
提出日時 2020-11-06 23:32:41
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 82,428 KB
実行使用メモリ 98,044 KB
最終ジャッジ日時 2024-07-22 13:46:32
合計ジャッジ時間 2,996 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect

n,m,c=map(int,input().split())
a=list(map(int,input().split()))
b=list(map(int,input().split()))
b=sorted(b)
cnt=0
for i in range(n):
    pos=bisect.bisect_right(b,c//a[i])
    print(i,pos)
    cnt+=m-pos
print(cnt/(n*m))
0