上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 转载自:https://www.cnblogs.com/cmmdc/p/6936196.html 以防链接失效以失去如此好的博客,故复制一份以防丢失。 矩阵快速幂基础讲解 1.基础知识储备篇 矩阵的相关运算会再线性代数中学到。1.1矩阵的定义: N阶方阵(N阶矩阵):行数m与列数n相同的矩阵,如下 阅读全文
posted @ 2018-04-14 13:53 cglong 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://blog.csdn.net/u010781856/article/details/46610655 约瑟夫环 转载自:https://blog.csdn.net/u010781856/article/details/46610655 约瑟夫环 约瑟夫环是一个数学的应用问题:已 阅读全文
posted @ 2018-04-12 22:00 cglong 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.cnblogs.com/zyf0163/p/4782133.html 以防链接失效,特此转载此文,如有冒犯望见谅 RMQ(ST算法) RMQ(Range Minimum/Maximum Query),即区间最值查询,是指这样一个问题:对于长度为n的数列a,回答若干询问R 阅读全文
posted @ 2018-04-10 22:28 cglong 阅读(204) 评论(0) 推荐(0) 编辑
摘要: The King’s Problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3471 Accepted Submission(s): 1 阅读全文
posted @ 2018-04-06 15:58 cglong 阅读(203) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/jeryjeryjery/article/details/52829142?locationNum=4&fps=1 以防链接失效,特此转载此博,如有侵权请见谅 在有向图G中,如果两个顶点间至少存在一条路径,称两个顶点强连通(strongly connect 阅读全文
posted @ 2018-04-05 13:23 cglong 阅读(469) 评论(0) 推荐(0) 编辑
摘要: A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between 阅读全文
posted @ 2018-04-05 13:18 cglong 阅读(204) 评论(0) 推荐(0) 编辑
摘要: D. Fedor and Essay time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Fedor and Essay ti 阅读全文
posted @ 2018-03-30 21:15 cglong 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there 阅读全文
posted @ 2018-03-17 16:46 cglong 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Travelling Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5896 Accepted Submission(s): 1908 Prob 阅读全文
posted @ 2018-03-16 22:22 cglong 阅读(190) 评论(0) 推荐(0) 编辑
摘要: A. Zebras A. Zebras time limit per test1 second memory limit per test512 megabytes inputstandard input outputstandard output Oleg writes down the hist 阅读全文
posted @ 2018-03-14 20:35 cglong 阅读(442) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页