- 博客(3)
- 收藏
- 关注
原创 hdu 2095 find your present (2)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2095 这题。。。。
2014-04-29 11:51:18 399
原创 hdu 1548(bfs)
#include #include #include using namespace std; int n,a[220],A,B,v[210]; struct node { int re,step; }cur,next; void bfs(int t) { cur.re=t;cur.step=0; queueq; q.push(cur); while(!q.empty()) { c
2014-04-27 18:48:56 379
原创 hdu 1548(最短路)
#include #include #define inf 9999999 int map[210][210],dis[210],v[210]; int n; void dij(int s) { int t,max,i,j; for(i=1;i<=n;i++) { dis[i]=map[s][i]; v[i]=0; } di
2014-04-27 18:37:11 460
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人