結果

問題 No.1882 Areas of Triangle
ユーザー AEn
提出日時 2022-05-11 23:18:12
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 177 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 148 ms
コンパイル使用メモリ 85,504 KB
実行使用メモリ 148,704 KB
最終ジャッジ日時 2026-04-02 15:43:58
合計ジャッジ時間 3,511 ms
ジャッジサーバーID
(参考情報)
judge4_1 / judge5_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 19 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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