One day, when small Diana is on live, a Super Chat asks her a very strange question.
Super Chat tells her that a -length sequence of numbers
is
-good if and only if
holds for
, where
is a constant.
The first line gives you two integers
and
, indicating the length of sequence and the constant.
The second line gives you
numbers
.
Only a single integer shows the maximum number of numbers Diana can choose from the given numbers.
Subscribe Diana, Satisfy Desire!
贝拉kira https://space.bilibili.com/672353429/
嘉然今天吃什么 https://space.bilibili.com/672328094/
向晚大魔王 https://space.bilibili.com/672346917/
乃琳Queen https://space.bilibili.com/672342685/珈乐Carol https://space.bilibili.com/351609538/![]()