2166: 信息学奥赛一本通T1243-月度开销 摘要:解题思路:二分注意事项: 测试数据有误参考代码:#include<iostream> using namespace std; const int N = 1e5 + 10; int a[N],…… 题解列表 2024年03月13日 0 点赞 0 评论 725 浏览 评分:8.0
c++解修建灌木 摘要:解题思路:这道题是一道规律题,就是一颗树能长多高完全取决于什么时候被修剪。2 : 2 23 : 4 2 44 : 6 4 4 65 : 8 6 4 6 86 :10 8 6 6 8 10我们发…… 题解列表 2024年03月12日 0 点赞 0 评论 264 浏览 评分:0.0
1160: 出圈(好东西哈) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring> //memset()必备using namespace std;in…… 题解列表 2024年03月12日 0 点赞 0 评论 262 浏览 评分:9.9
c++解刷题统计 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ long long a,b,n; cin>>a>>b; cin>>n;…… 题解列表 2024年03月12日 3 点赞 0 评论 220 浏览 评分:0.0
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; float s=0.0; cin>>n; fl…… 题解列表 2024年03月12日 1 点赞 0 评论 260 浏览 评分:9.9
求分数序列和 摘要:解题思路:斐波那契数列n-2项/n-1项目注意事项:输出格式参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin…… 题解列表 2024年03月12日 1 点赞 0 评论 252 浏览 评分:9.9
1159: 偶数求和(还不错) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,m; int num[100]; num…… 题解列表 2024年03月12日 1 点赞 0 评论 230 浏览 评分:9.9
1148: C语言训练-计算1977!* 摘要:解题思路: 利用数组进行大数计算注意事项: 没事的,背下来就好了!!!参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2024年03月12日 1 点赞 0 评论 361 浏览 评分:9.9
dfs c++,搜索 摘要:解题思路:对于关键点的理解:关键点的特点就是所有可行通道都要经过它,那么在搜索过程中,每找到一个可行通道,把这个通道上所有的点计数,记录这个站点i被走过的次数a【i】,最后搜索完遍历站点进行检验,如果…… 题解列表 2024年03月12日 1 点赞 0 评论 401 浏览 评分:0.0
1146: C语言训练-舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ unsigned long long int s=1,t=1;/…… 题解列表 2024年03月12日 1 点赞 0 评论 280 浏览 评分:9.9