雕刻时光

just do it……nothing impossible
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年4月9日

摘要: 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 阅读(386) 评论(0) 推荐(0) 编辑