题解 2799: 奥运奖牌计数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

两种方法,简单易懂!!!!

摘要:解题思路:注意事项:数组可以不开那么大。参考代码:#include<bits/stdc++.h>using namespace std;//int a,b,c;int n,a[101][101],s,……

题解 2799: 奥运奖牌计数

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){   int fmax,maxs=0,……

奥运奖牌计数

摘要:解题思路:注意事项:参考代码:// 方式一// #include<stdio.h>// int main()// {//     int n,a,b,c;//     scanf("%d",&n);/……

题解 2799: 奥运奖牌计数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,s=0,u=0,m=0,sum=0,a,……

题解 2799: 奥运奖牌计数

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){int jinzong=0,yinzong=0,tongzong=0,……

(cC语言超简单版)奥运奖牌计数

摘要:解题思路:分别计算金银铜三种的数量,这里要用到2维数组注意事项:参考代码:#include<stdio.h>int main(){    int n;    int a[100][3];    int……

2799: 奥运奖牌计数

摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[1000……