利用斐波那契数列求解 摘要:解题思路:观察发现,分母的值,从第三个分数开始,为前两个的和,分子也有类似的规律,如果纯在数列f(n) = f(n-1) + f(n-2),其中f(0) = 1,f(1)=2.则sum = f(1)/…… 题解列表 2024年04月21日 0 点赞 0 评论 279 浏览 评分:9.9
1579: 蓝桥杯算法提高VIP-陶陶摘苹果2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N…… 题解列表 2024年04月21日 0 点赞 0 评论 143 浏览 评分:0.0
2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N…… 题解列表 2024年04月21日 0 点赞 0 评论 187 浏览 评分:0.0
2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N…… 题解列表 2024年04月21日 0 点赞 0 评论 213 浏览 评分:0.0
题解 2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e5+5;typedef long long ll;in…… 题解列表 2024年04月21日 0 点赞 0 评论 194 浏览 评分:9.9
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N…… 题解列表 2024年04月21日 1 点赞 0 评论 378 浏览 评分:8.0
编写题解 2901: 查找特定的值 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int a,b,d;int c[1000000];int main(){ int sum=1; …… 题解列表 2024年04月21日 0 点赞 0 评论 318 浏览 评分:0.0
2804: 与指定数字相同的数的个数 摘要:解题思路:注意事项:千万别抄,会遭报应的参考代码:#include <iostream>using namespace std;typedef long long ll;const int N=1e7…… 题解列表 2024年04月21日 1 点赞 0 评论 263 浏览 评分:6.0
题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;const ll N=1e7;ll a[N];in…… 题解列表 2024年04月21日 0 点赞 0 评论 369 浏览 评分:0.0
2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e7;ll a[N…… 题解列表 2024年04月21日 0 点赞 0 评论 213 浏览 评分:0.0