結果
| 問題 | No.1882 Areas of Triangle |
| ユーザー |
|
| 提出日時 | 2025-03-24 22:36:35 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 105 ms / 2,000 ms |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 231 ms |
| コンパイル使用メモリ | 96,108 KB |
| 実行使用メモリ | 100,080 KB |
| 最終ジャッジ日時 | 2026-07-07 21:15:12 |
| 合計ジャッジ時間 | 4,285 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 24 |
ソースコード
from bisect import bisect_right
N,K = map(int,input().split())
A = sorted(list(map(int,input().split())))
ans = 0
for i in range(N):
ind = bisect_right(A,(2*K-1)//A[i])
ans += N-ind
print(ans)