题解 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 评论 242 浏览 评分:9.9
家人们,这个题解超简单! 摘要:解题思路:将金银铜分别输入三次即可,并先输入比了多少天即可。注意事项:不能把a,b,c的输入写在外面。参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2024年02月23日 0 点赞 1 评论 247 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){int jinzong=0,yinzong=0,tongzong=0,…… 题解列表 2024年01月10日 1 点赞 0 评论 189 浏览 评分:9.9
2799: 奥运奖牌计数 摘要:解题思路:首先读入n,然后用循环读入每一天的金、银、铜牌数目,并将其累加到相应的变量中。最后输出累加后的金、银、铜牌总数以及总奖牌数。参考代码:#include <iostream>using nam…… 题解列表 2023年04月10日 0 点赞 0 评论 402 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int fmax,maxs=0,…… 题解列表 2024年01月11日 0 点赞 0 评论 374 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月11日 0 点赞 0 评论 218 浏览 评分:9.9
编写题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,sum1=0,sum2=0,sum3=0,d; …… 题解列表 2024年06月16日 0 点赞 0 评论 383 浏览 评分:9.9
奥运奖牌计数 摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); int a[n][3]; for(int i=0;i…… 题解列表 2023年09月07日 0 点赞 0 评论 583 浏览 评分:9.9
2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:m1 = m2 = m3 = 0n = int(input())for i in range(0,n): a = list(map(int,input().spli…… 题解列表 2023年02月06日 0 点赞 0 评论 621 浏览 评分:10.0
2799 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,gold,silver,bronze,sum=0,sum_go…… 题解列表 2025年08月02日 1 点赞 0 评论 226 浏览 评分:10.0