输入:
4 2 1 1 5 8 2 6 7 7 3 4 6 5 4 2 8 3
正确输出 4 4,https://www.luogu.com.cn/record/184322315 的代码输出 4 5。
4 4
4 5