RemiliaScar1et 的题解
hack:
input: 6 114 514 0 0 0 0 0 0 output: 0
但是他 RE 了,错因与我相同:使用 vector 存大于 0 的数,但是可能全是 0。
实测我自己的代码也有问题且能通过,故建议添加数据。