摘要: https://www.luogu.org/problemnew/show/P1226 快速幂和取余性质学习了题解。 1 #include<iostream> 2 #include<algorithm> 3 #include<cstdio> 4 #include<cstring> 5 #includ 阅读全文
posted @ 2019-01-12 16:36 XXrl 阅读(219) 评论(0) 推荐(1) 编辑
摘要: https://www.luogu.org/problemnew/show/P1216 从底往上推,每一个记录的都是下面两个中最大的路径和。 1 #include<iostream> 2 #include<algorithm> 3 #include<cstdio> 4 #include<cstrin 阅读全文
posted @ 2019-01-12 14:11 XXrl 阅读(137) 评论(0) 推荐(0) 编辑