摘要: 题目链接:http://poj.org/problem?id=1270思路:就是一简单的dfs+拓扑排序,然后就是按字典序输出所有的情况。http://paste.ubuntu.com/5987294/ 阅读全文
posted @ 2013-08-15 10:08 ihge2k 阅读(247) 评论(0) 推荐(0) 编辑