上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页
摘要: 阶乘函数 斐波那契数列 #include <iostream> #include <cstring> #include <algorithm> using namespace std; // 阶乘函数 int fact(int n) { if(!n) return 1; return n * fac 阅读全文
posted @ 2018-11-21 20:32 Draymonder 阅读(240) 评论(0) 推荐(0)
摘要: 题目链接: https://hihocoder.com/contest/hiho12/problem/1 给出一棵树 每个节点的价值 求以1为根的树中,选取m个相联通的节点的最大价值和 阅读全文
posted @ 2018-11-20 19:24 Draymonder 阅读(142) 评论(0) 推荐(0)
摘要: 题目链接: https://hihocoder.com/contest/hiho11/problem/1 求树中节点对 距离最远的长度 阅读全文
posted @ 2018-11-18 12:28 Draymonder 阅读(167) 评论(0) 推荐(0)
摘要: 题目链接 https://hihocoder.com/contest/hiho10/problem/1 给出先序 中序 求 后序 阅读全文
posted @ 2018-11-18 10:52 Draymonder 阅读(153) 评论(0) 推荐(0)
摘要: 状态压缩 写了两个半小时 太菜了 题目链接 https://hihocoder.com/contest/hiho8/problem/1 阅读全文
posted @ 2018-11-18 00:44 Draymonder 阅读(125) 评论(0) 推荐(0)
摘要: 完全背包 题目链接 https://hihocoder.com/contest/hiho7/problem/1 阅读全文
posted @ 2018-11-17 21:19 Draymonder 阅读(145) 评论(0) 推荐(0)
摘要: 01背包 题目链接 https://hihocoder.com/contest/hiho6/problem/1 阅读全文
posted @ 2018-11-17 21:16 Draymonder 阅读(105) 评论(0) 推荐(0)
摘要: ac自动机 题目链接 https://hihocoder.com/contest/hiho4/problem/1 参考:https://blog.csdn.net/baidu_30541191/article/details/47447175# 阅读全文
posted @ 2018-11-06 21:27 Draymonder 阅读(177) 评论(0) 推荐(0)
摘要: 废弃 待更新 阅读全文
posted @ 2018-11-06 18:22 Draymonder 阅读(136) 评论(0) 推荐(0)
摘要: 题目链接 https://hihocoder.com/contest/hiho2/problems 字典树 阅读全文
posted @ 2018-11-06 15:19 Draymonder 阅读(159) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页