摘要: How Many to Be Happy? 题目描述 Let G be a connected simple undirected graph where each edge has an associated weight. Let’s consider the popular MST (Mini 阅读全文
posted @ 2018-10-04 19:50 1371767389 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 拓扑序计数 时间限制: 1 s 空间限制: 128000 KB 拓扑序计数 时间限制: 1 s 拓扑序计数 时间限制: 1 s 空间限制: 128000 KB 空间限制: 128000 KB 空间限制: 128000 KB 题目描述 Description 求一颗有根树/树形图的拓扑序个数. 输入描 阅读全文
posted @ 2018-10-04 00:21 1371767389 阅读(532) 评论(0) 推荐(0) 编辑