摘要: 题目链接:https://cn.vjudge.net/contest/270201#problem/D具体思路:利用斐波那契数列的性质,斐波那契数列可以构成任何正整数,所以按照顺序减下去肯定能减到0.斐波那契数列 1 1 2 3 5 8 13 21 。。。。。比如说... 阅读全文
posted @ 2018-11-19 11:56 Let_Life_Stop 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://acm.sdut.edu.cn/onlinejudge2/index.php/Home/Contest/contestproblem/cid/2697/pid/4335.html具体思路:倒着相加,具体看代码AC代码:#include#inc... 阅读全文
posted @ 2018-11-19 11:14 Let_Life_Stop 阅读(143) 评论(0) 推荐(0) 编辑