2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long sum=0; long l…… 题解列表 2024年01月10日 0 点赞 0 评论 416 浏览 评分:0.0
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,s=0,u=0,m=0,sum=0,a,…… 题解列表 2024年01月10日 0 点赞 0 评论 413 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,n,sum=0,sum1=0,s…… 题解列表 2024年01月10日 0 点赞 0 评论 490 浏览 评分:6.0
取引用+substr复制字符串 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;void Copy(string &str_1, string…… 题解列表 2024年01月10日 0 点赞 0 评论 454 浏览 评分:0.0
题解 2794求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年01月09日 0 点赞 0 评论 849 浏览 评分:9.9
2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年01月09日 1 点赞 2 评论 459 浏览 评分:10.0
1764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入门练习11764: 循环入 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum=0; //累加器 for(i…… 题解列表 2024年01月09日 0 点赞 0 评论 570 浏览 评分:9.9
2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){int n,b,a=0;cin>>n;for(int i=1;i<=n;i++){cin>>…… 题解列表 2024年01月09日 0 点赞 1 评论 388 浏览 评分:9.9
2794: 求平均年龄 摘要:解题思路:注意事项:要保留两位小数参考代码:#include<iostream>using namespace std;int main(){ int n,m; double sum = …… 题解列表 2024年01月09日 0 点赞 0 评论 499 浏览 评分:9.9
3010: 奇偶数之和 摘要:解题思路:注意事项:这里用long long长整型定义参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 521 浏览 评分:9.9