题解 2799: 奥运奖牌计数

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

筛选

题解 2799: 奥运奖牌计数

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

奥运奖牌计数

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() {int n,gold=0,silver=0,copper=0;scanf("%d",&n);int a[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,……

2799: 奥运奖牌计数

摘要:解题思路:首先读入n,然后用循环读入每一天的金、银、铜牌数目,并将其累加到相应的变量中。最后输出累加后的金、银、铜牌总数以及总奖牌数。参考代码:#include <iostream>using nam……

奥运奖牌计数

摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); int a[n][3]; for(int i=0;i……

题解 2799: 奥运奖牌计数

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

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

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

java--study||O.o

摘要:参考代码:import java.util.Scanner;   public class Main {   public static void main(String[] args)   ……