摘要:
题意:给出N*M的地图,问能否从S到D话费T时间。思路:dfs奇偶剪枝。题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1010View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 #include <cmath> 5 #include <string> 6 #include <algorithm> 7 #include <iostream> 8 using namespa 阅读全文
posted @ 2012-06-20 19:55
Hug_Sea
阅读(161)
评论(0)
推荐(0)
浙公网安备 33010602011771号