B. 青蛙

    Type: Default 1000ms 256MiB

青蛙

No testdata at current.

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

image

样例 1 输入

5 2 4
1 2 4 7 10

样例 1 输出

1 1 3 1 1

样例 1 解释

跳一轮后, 11 号青蛙到了 33 号点; 22 号青蛙到了 33 号点; 33 号青蛙到了 11 号点; 44 号青蛙到了 33 号点; 55 号青蛙到了 33 号点;

数据范围

1k<n106,1m10181\le k< n\le 10^6,1\le m\le 10^{18}

1p1<p2<<pn1018 1\le p_1<p_2<\cdots<p_n\le 10^{18}

2.11日竞赛A班

Not Attended
Status
Done
Rule
IOI
Problem
2
Start at
2025-2-11 14:00
End at
2025-2-11 17:00
Duration
3 hour(s)
Host
Partic.
4