摘要: 弱的一笔啊!!都知道这题是欧拉路径都还Wa了那么久。。。伤心!原来欧拉路径的压栈一定要在dfs()之后压。。。这题就是将牌骨的数字看做点,把牌看做连接两点的边。。。这样就成了欧拉路了// File Name: 1002.cpp// Author: zlbing// Created Time: 2013/2/24 11:39:49#include<iostream>#include<string>#include<algorithm>#include<cstdlib>#include<cstdio>#include<set> 阅读全文
posted @ 2013-02-28 14:44 z.arbitrary 阅读(203) 评论(1) 推荐(0) 编辑