题解 2799: 奥运奖牌计数

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

筛选

最普通的解题方法

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

奥运奖牌计数

摘要:解题思路: 1、先定义一个整型变量 用来表示天数,使用scanf函数输入天数&n……

奥运奖牌计数,加油

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

奥运金牌计数(c语言)

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

2799: 奥运奖牌计数(java)

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