题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,b1=0,c1=0,d1=0,s; …… 题解列表 2023年11月06日 1 点赞 0 评论 222 浏览 评分:10.0
两种方法,简单易懂!!!! 摘要:解题思路:注意事项:数组可以不开那么大。参考代码:#include<bits/stdc++.h>using namespace std;//int a,b,c;int n,a[101][101],s,…… 题解列表 2023年02月22日 0 点赞 0 评论 376 浏览 评分:9.9
2799: 奥运奖牌计数 摘要:解题思路:首先读入n,然后用循环读入每一天的金、银、铜牌数目,并将其累加到相应的变量中。最后输出累加后的金、银、铜牌总数以及总奖牌数。参考代码:#include <iostream>using nam…… 题解列表 2023年04月10日 0 点赞 0 评论 368 浏览 评分:9.9
题解 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 评论 208 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){int jinzong=0,yinzong=0,tongzong=0,…… 题解列表 2024年01月10日 1 点赞 0 评论 158 浏览 评分:9.9
家人们,这个题解超简单! 摘要:解题思路:将金银铜分别输入三次即可,并先输入比了多少天即可。注意事项:不能把a,b,c的输入写在外面。参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2024年02月23日 0 点赞 1 评论 221 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int fmax,maxs=0,…… 题解列表 2024年01月11日 0 点赞 0 评论 343 浏览 评分:9.9
奥运奖牌计数(超简单,很容易看懂) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0…… 题解列表 2022年11月05日 0 点赞 0 评论 916 浏览 评分:8.7
2799: 奥运奖牌计数 摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[1000…… 题解列表 2023年02月24日 0 点赞 0 评论 330 浏览 评分:7.0
编写题解 2799: 奥运奖牌计数 摘要:解题思路:sum的用法注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a[n]…… 题解列表 2023年02月23日 0 点赞 0 评论 252 浏览 评分:6.0