I cannot understand this [question](http://7xjob4.com1.z0.glb.clouddn.com/632e3acabfd6a8cc4f61d4e7876acd92acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=23886).↵
Can anyone explain to me why the second example gives an output of 4? What is the moving strategy here?↵
Thanks!
Can anyone explain to me why the second example gives an output of 4? What is the moving strategy here?↵
Thanks!