上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: http://codeforces.com/group/1EzrFFyOc0/contest/711/problem/C https://blog.csdn.net/qq_36368339/article/details/78568585?locationNum=6&fps=1 题解 题意:(真难理 阅读全文
posted @ 2018-08-02 17:08 木流牛马 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://baike.baidu.com/item/%E7%BA%A6%E6%95%B0%E4%B8%AA%E6%95%B0%E5%AE%9A%E7%90%86/4926961#1 https://blog.csdn.net/nhl19961226/article/details/689459 阅读全文
posted @ 2018-07-30 15:30 木流牛马 阅读(261) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/video/av11250539?from=search&seid=8977949544767058812 附上一个超有趣的归并排序 动画 https://www.luogu.org/problemnew/show/P1908 题目 阅读全文
posted @ 2018-07-30 14:56 木流牛马 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 分治: 麦森数的解题报告 题目分析: 第一问是很简单的,只需要求一个对数而已,数学原理:十进制正整数n的位数为int(log10(n))+1。所以2^P-1的位数int(log10(2)*p)+1 。 2^p = 10^(p*log10(2) ) , 所以2^p的位数是p*log10(2)。 第二问 阅读全文
posted @ 2018-07-30 12:10 木流牛马 阅读(204) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P1434 题目 阅读全文
posted @ 2018-07-28 17:21 木流牛马 阅读(255) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1011/problem/C 题目 这是一道大水题! 仅以此题解作为我这个蒟蒻掉分的见证 阅读全文
posted @ 2018-07-27 01:12 木流牛马 阅读(324) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.org/problemnew/show/P1019 落骨 分3个板块 : 1. 求出两个字符串最小的重复长度 由题目要求 ,在比较的过程中,一个串不能是另一个串的子串,所以 i != len。 for里面的写法很精妙。。如果找到最小的重复长度,就马上return, 阅读全文
posted @ 2018-07-26 16:17 木流牛马 阅读(139) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/grubbyskyer/p/3852421.html 博客 欧拉筛: 阅读全文
posted @ 2018-07-26 08:27 木流牛马 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 动态规划太难辣 https://www.cnblogs.com/wxgblogs/p/5742618.html 博客 https://www.nowcoder.com/practice/a2a1d0266629404fba582d416d84b6a0?tpId=61&&tqId=29533&rp=1 阅读全文
posted @ 2018-07-24 17:19 木流牛马 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/questionTerminal/a5190a7c3ec045ce9273beebdfe029ee来源:牛客网 题目可以转化成求符合条件的集合真子集个数。每次从全集中选择若干元素(小球)组成子集(袋子)。集合子集个数为2^n个,使用dfs必然超 阅读全文
posted @ 2018-07-24 09:14 木流牛马 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页