编写题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,sum1=0,sum2=0,sum3=0,d; …… 题解列表 2024年06月16日 0 点赞 0 评论 570 浏览 评分:9.9
N以内累加求和 摘要:解题思路:循环注意事项:n大写参考代码:#include <iostream>using namespace std;int main() { int N,sum = 0; cin >> …… 题解列表 2024年06月16日 0 点赞 0 评论 671 浏览 评分:0.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年06月16日 1 点赞 0 评论 974 浏览 评分:9.9
编写题解 2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n,maxx=0; cin>>n; for(int i=1;i<…… 题解列表 2024年06月16日 0 点赞 0 评论 419 浏览 评分:9.9
题解 1852: 求1+2+3+...+n的值(正确题解·(doge)) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int manba(long long a,long long sum){ fo…… 题解列表 2024年06月16日 0 点赞 0 评论 493 浏览 评分:0.0
题解 2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int manba(int a,int b,int c){ if(a>b) { …… 题解列表 2024年06月16日 0 点赞 0 评论 463 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值(test1) 摘要:**#include using namespace std; int main() { long long n,sum=0; cin>>n; for(int …… 题解列表 2024年06月16日 0 点赞 0 评论 404 浏览 评分:0.0
【编程入门】自定义函数之数字后移 摘要:参考代码:#include <bits/stdc++.h> using namespace std; int main(){ int n,k; int p[1007],s[1007]; …… 题解列表 2024年06月15日 0 点赞 0 评论 427 浏览 评分:9.9
【编程入门】二维数组的转置 摘要:参考代码:#include<stdio.h> void zhuanzhi(int a[3][3]){ int b[3][3]; int i,j; //转置 for(i=0; i…… 题解列表 2024年06月15日 0 点赞 0 评论 531 浏览 评分:9.9
蓝桥杯2024年第十五届省赛真题-传送阵 ```#include#defineintlonglongusingnamespacestd;constintN=1e6+10;intt;intp[N],h[N];intp2[N],p3[N];intfind(intx){if(x!=p[x])p[x]=find(p[x]);returnp[x];}s 题解列表 2024年06月15日 4 点赞 0 评论 1712 浏览 评分:10.0