图论-其他
文章平均质量分 55
___Evan
这个作者很懒,什么都没留下…
展开
-
FAFU-1006 旅游问题 欧拉回路
题目链接#include "stdio.h"#include "string.h"const int maxn = 105;int rudu[maxn],map[maxn][maxn],path[maxn*10]; int n,m,k; //代表元void DFS(int x){ for( int i=1;i<=n;i++ ) {原创 2014-03-16 15:16:14 · 492 阅读 · 0 评论 -
HDU-1878 欧拉回路
题目链接#include#include#include#include#include#include#include#include#includeusing namespace std;const int maxn =1005;const int inf = 1<<30;//0x7f;typedef __int64 LL;int n,m;int p[m原创 2014-03-16 15:11:30 · 390 阅读 · 0 评论