Have you ever read any book about treasure exploration? Have you ever see any film about treasure exploration? Have you ever explored treasure? If you never have such experiences, you would never know what fun treasure exploring brings to you.Recentl…
1 #include<iostream> #include<cstring> #include<algorithm> #include<cstdio> #define N 505 using namespace std; int g[N][N]; int n, m; int vis[N], linker[N]; bool dfs(int u){ ; i<=n; ++i) if(g[u][i] && !vis[i]){ vis[i]=;…
题目链接:http://poj.org/problem?id=2594 Treasure Exploration Time Limit: 6000MS Memory Limit: 65536K Total Submissions:10480 Accepted: 4250 Description Have you ever read any book about treasure exploration? Have you ever see any film about treasure…
链接: http://poj.org/problem?id=3020 http://acm.hust.edu.cn/vjudge/contest/view.action?cid=22010#problem/M Antenna Placement Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5500 Accepted: 2750 Description The Global Aerial Research Centr…
原题传送:http://poj.org/problem?id=3020 Antenna Placement Time Limit: 1000MS Memory Limit: 65536K Description The Global Aerial Research Centre has been allotted the task of building the fifth generation of mobile phone nets in Sweden. The most striking…