两种方法,简单易懂!!!! 摘要:解题思路:注意事项:数组可以不开那么大。参考代码:#include<bits/stdc++.h>using namespace std;//int a,b,c;int n,a[101][101],s,…… 题解列表 2023年02月22日 0 点赞 0 评论 310 浏览 评分: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 评论 475 浏览 评分:9.9
奥运奖牌计数 摘要:解题思路:注意事项:参考代码:// 方式一// #include<stdio.h>// int main()// {// int n,a,b,c;// scanf("%d",&n);/…… 题解列表 2022年12月27日 0 点赞 0 评论 657 浏览 评分: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 评论 446 浏览 评分:9.9
题解 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 评论 157 浏览 评分:9.9
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,b1=0,c1=0,d1=0,s; …… 题解列表 2023年11月06日 1 点赞 0 评论 141 浏览 评分:10.0