中山石岐好点的电子厂:zju 1366 cash machine 的O(n*cash)算法