- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 hdu 2489 Minimal Ratio Tree dfs枚举组合情况+最小生成树★
#include #include #include #include using namespace std;#define MAXN 20#define INF 1e20;int n, m;int value[MAXN];int c[MAXN][MAXN];int ans[MAXN];int copys[MAXN];bool vis[
2014-03-31 17:43:30 740
原创 hdu3926 Hand in Hand 同构图★
#include #include #include #include using namespace std;#define MAXN 10000 + 10int pre[MAXN];struct Node{ int num; bool iscircle;}node1[MAXN], node2[MAXN];int deg
2014-03-31 15:53:12 443
原创 hdu 1598 枚举+并差集
#include #include #include using namespace std;#define MAXN 200 + 1#define MAXM 1000 + 1#define inf (~0u >> 1)int n, m;struct Edge{ int u, v, w;}edge[MAXM];int pre
2014-03-25 14:28:39 425
简单五子棋c++
2013-12-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人