杭电 1008,不懂题意题目中输入输出理解不了.Sample Input1 23 2 3 10Sample Output