結果

問題 No.1882 Areas of Triangle
ユーザー AEn
提出日時 2022-05-11 23:18:12
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 177 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 91,368 KB
最終ジャッジ日時 2024-07-19 09:11:52
合計ジャッジ時間 3,379 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 19 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
N, K = map(int, input().split())
A = list(map(int,input().split()))
A.sort()
cnt = 0
for i in range(N):
    cnt += (N-bisect.bisect_right(A, 2*K/A[i]))
print(cnt)
0