input
2 5 2 0 1 2 4 1 2 3 2 2 2 5 1 0 5 2 0 0 7
ans:
Yes Yes
这篇题解
output:
Yes No
对着错误题解拍了半天啊啊啊啊啊
这是第一篇题解,误导性很强,请×掉。