摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1016代码示例: 1 #include "stdio.h" 2 #include "string.h" 3 4 #define N 100 5 int n,a[100],t; 6 int mark[25... 阅读全文
posted @ 2013-07-14 19:40 ruo_yu 阅读(305) 评论(0) 推荐(0)
摘要: 只是练练手!#include "stdio.h"#include "string.h"char map[105][105];int m,n;int dis[8][2]={{1,-1,},{1,0},{1,1},{0,-1},{0,1},{-1,-1},{-1,0},{-1,1}};void DFS(... 阅读全文
posted @ 2013-07-14 08:32 ruo_yu 阅读(256) 评论(0) 推荐(0)