摘要: 题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=42欧拉回路,欧拉路径水题~代码:#include "stdio.h" // 欧拉图,半欧拉图#include "string.h"//无向图存在欧拉路径的充要条件:连通且奇度顶点个数为2。... 阅读全文
posted @ 2014-05-20 17:20 ruo_yu 阅读(208) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=38最小生成树水题~代码:#include "stdio.h" // 最小生成树 Kruskal#include "string.h"#include "stdlib.h"#define N... 阅读全文
posted @ 2014-05-20 17:05 ruo_yu 阅读(177) 评论(0) 推荐(0)
摘要: 不要62Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Problem Description杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新... 阅读全文
posted @ 2014-05-20 16:27 ruo_yu 阅读(183) 评论(0) 推荐(0)