上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 98 下一页
摘要: Little Vitaly loves different algorithms. Today he has invented a new algorithm just for you. Vitaly's algorithm works with string s, consisting of ch 阅读全文
posted @ 2019-08-21 09:07 风骨散人 阅读(487) 评论(0) 推荐(0) 编辑
摘要: Maxim always goes to the supermarket on Sundays. Today the supermarket has a special offer of discount systems. There are m types of discounts. We ass 阅读全文
posted @ 2019-08-21 09:04 风骨散人 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Roma works in a company that sells TVs. Now he has to prepare a report for the last year. Roma has got a list of the company's incomes. The list is a 阅读全文
posted @ 2019-08-21 08:55 风骨散人 阅读(271) 评论(0) 推荐(0) 编辑
摘要: A recently found Ancient Prophesy is believed to contain the exact Apocalypse date. The prophesy is a string that only consists of digits and characte 阅读全文
posted @ 2019-08-21 08:46 风骨散人 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Little Vasya had n boxes with balls in the room. The boxes stood in a row and were numbered with numbers from 1 to n from left to right. Once Vasya ch 阅读全文
posted @ 2019-08-21 08:43 风骨散人 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 昨天一道简单DP题状态转移方程写不出来,现在图论能出题的知识点已解决,后边的LCA和网络流先放一放,这周就弄DP啥也不想了,DP很锻炼思维,所以通过DP练思维,练分析问题的能力,只有剖析问题才能写出状态转移方程,... 阅读全文
posted @ 2019-08-20 09:05 风骨散人 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 学了一天的矩阵树,加做了点题目,矩阵在图论的应用确实比较大,但是这种图出题比较思维定式,一般没人出这种题吧,宛如出了一道数学题,学过就会,没学就不会,不会就很难受了,这种题的话出题难以出变形体题目固定,完全就是板... 阅读全文
posted @ 2019-08-18 11:12 风骨散人 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 定理:1.设G为无向图,设矩阵D为图G的度矩阵,设C为图G的邻接矩阵。2.对于矩阵D,D[i][j]当 i!=j 时,是一条边,对于一条边而言无度可言为0,当i==j时表示一点,代表点i的度。即: 3.对于矩阵... 阅读全文
posted @ 2019-08-18 11:02 风骨散人 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 本文章为网上收集资料,因原作者信息不明无法附上原作者信息,如有侵权立即删除 点一下查看大图 阅读全文
posted @ 2019-08-17 17:23 风骨散人 阅读(429) 评论(0) 推荐(0) 编辑
摘要: D. Beautiful ArrayYou are given an array aa consisting of nn integers. Beauty of array is the maximum sum ... 阅读全文
posted @ 2019-08-17 09:40 风骨散人 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 98 下一页