努力ing
你浪费的今天是昨天死去的人所渴望的明天!!!
摘要: 记忆搜索http://acm.hdu.edu.cn/showproblem.php?pid=1978题目简述:机器人从第一个点出发到达最后一点,有多少种方法,结果%10000;Input166456643223172114627584395766215311372Output3948第一种方法:#include<iostream>using namespace std;int n,m;int map[205][205];int dp[205][205];int min(int a,int b){ return a<b?a:b;}int bfs(int x,int y,int 阅读全文
posted @ 2013-05-23 15:46 努力ing 阅读(160) 评论(0) 推荐(0)