Input: 3 100000 100000 1 1 1 Output: 3 3 3 Input: 3 100 1 1 2 3 Output: 3 3 3
都是答案为 nnn 的边界情况。
另外 AT 的数据有点水,我的代码能过,但是过不了第二个 Hack。