题解 2799: 奥运奖牌计数

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

筛选

奥运奖牌计数 用数组

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long n,i,j,A=0,B=0,C=0; scanf("%ld",&……

C++奥运奖牌计数

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor……

Python满分代码

摘要:解题思路:python真nb,写个全局变量,然后在函数中直接引用注意事项:参考代码:num=int(input())def f(j,a): i=0 ……

奥运金牌计数(c语言)

摘要:解题思路:二维数组注意事项:二维数组的输入输出方式参考代码:#include<stdio.h>int main(){int i,j,n,b=0,c=0,d=0,sum=0;scanf("%d",&n)……

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

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

奥运奖牌计数,加油

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a, b, c, n,sum=0;int d=0, e=0, f=0;int i;scanf("%d", ……

2799: 奥运奖牌计数(java)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main {public static void main(String[] args) {……