摘要:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3497//最后判断从(1,1)开始如果走p步,只能到终点,则True//如果p步还可以到其他点,则Maybe//如果p步不能到终点,则False注意n==m==1的情况矩阵乘法每次乘都要将矩阵最后一行赋值0,因为到达终点了就不能在出来了View Code #include<stdio.h>#include<string.h>struct data{ int map[30][30];};data res;int n,as[30],ha1[1000]; 阅读全文
posted @ 2012-04-09 20:11 huhuuu 阅读(399) 评论(0) 推荐(0)
浙公网安备 33010602011771号