摘要:
起点是右下角 终点是左上角每次数据都是两行的点 输入n 表示有n列接下来来的2行是 列与列之间的距离最后一行是 行之间的距离枚举就行Sample test(s)input41 2 33 2 13 2 2 3output12input31 23 32 1 3output11input2111 1out... 阅读全文
摘要:
Sample test(s)input50 1 0 1 1output4input71 0 1 0 0 1 0output4input10output0 1 # include 2 # include 3 # include 4 # include 5 # include 6 # incl... 阅读全文