编写题解 2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n,maxx=0; cin>>n; for(int i=1;i<…… 题解列表 2024年06月16日 0 点赞 0 评论 227 浏览 评分:9.9
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年06月16日 1 点赞 0 评论 704 浏览 评分:9.9
N以内累加求和 摘要:解题思路:循环注意事项:n大写参考代码:#include <iostream>using namespace std;int main() { int N,sum = 0; cin >> …… 题解列表 2024年06月16日 0 点赞 0 评论 459 浏览 评分:0.0
编写题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,sum1=0,sum2=0,sum3=0,d; …… 题解列表 2024年06月16日 0 点赞 0 评论 341 浏览 评分:9.9
2799 奥运奖牌计数 摘要:解题思路: #include <bits/stdc++.h> using namespace std; int main() { int n,sum1=0, sum…… 题解列表 2024年06月16日 0 点赞 0 评论 285 浏览 评分:2.0
C语言训练-计算一个整数N的阶乘 摘要:解题思路:循环注意事项:阶乘参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1;…… 题解列表 2024年06月16日 0 点赞 0 评论 238 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[10],tg,zd=0; for(int i=0;…… 题解列表 2024年06月16日 0 点赞 0 评论 282 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路: 简化攻击力增加量的计算过程,确保每次升级后都按等差数列求和来计算总增加攻击力。参考代码:#include <stdio.h>#include <limits.h>#define max …… 题解列表 2024年06月16日 0 点赞 0 评论 461 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路:贱命一条就是干注意事项:无参考代码:#include <stdio.h>#include <stdlib.h>#define max 1000005struct Node { int …… 题解列表 2024年06月16日 0 点赞 0 评论 266 浏览 评分:0.0
Max函数(c++) 摘要:解题思路:使用Max函数int a=0,b=1; int c=max(a,b);//然后c会被max赋值为两个数中更大的数的值注意事项:max中只能填两个数参考代码:#include<bits/st…… 题解列表 2024年06月17日 1 点赞 0 评论 383 浏览 评分:9.9