結果
| 問題 | No.1882 Areas of Triangle |
| ユーザー |
|
| 提出日時 | 2025-03-24 22:36:35 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 83 ms / 2,000 ms |
| + 795µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 86 ms |
| コンパイル使用メモリ | 64,676 KB |
| 実行使用メモリ | 74,240 KB |
| 最終ジャッジ日時 | 2026-10-17 14:19:28 |
| 合計ジャッジ時間 | 3,532 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 26 |
ソースコード
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)