in:
1 3 2 2 2
out:
1
被卡掉的:
link1
link2
link3
link4
link5
link6
这些题解都没考虑 p∣yp\mid yp∣y 或者是 p∣yp\mid yp∣y 时 p∣zp\mid zp∣z 的情况。