随笔分类 - 搜索-剪枝
摘要:题目链接 题目 Quite recently a creative student Lesha had a lecture on trees. After the lecture Lesha was inspired and came up with the tree of his own whic
阅读全文
摘要:题目链接 题目 Kefa decided to celebrate his first big salary by going to the restaurant. He lives by an unusual park. The park is a rooted tree consisting o
阅读全文
摘要:题目链接 题目 将整数 分成 份,且每份不能为空,任意两个方案不相同(不考虑顺序)。 例如:,,下面三种分法被认为是相同的。 ; ; . 问有多少种不同的分法。 思路 首先我们可以打出一个暴力。
阅读全文