2799 奥运奖牌计数 摘要:解题思路: #include <bits/stdc++.h> using namespace std; int main() { int n,sum1=0, sum…… 题解列表 2024年06月16日 0 点赞 0 评论 446 浏览 评分:2.0
python 2799: 奥运奖牌计数 摘要:参考代码:n = int(input()) arr = [0,0,0] for _ in range(n): str = list(map(int, input().split())) …… 题解列表 2024年03月12日 0 点赞 0 评论 643 浏览 评分:2.0
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c,n,sum=0,sum1=0,s…… 题解列表 2024年01月10日 0 点赞 0 评论 400 浏览 评分:6.0
编写题解 2799: 奥运奖牌计数 摘要:解题思路:sum的用法注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a[n]…… 题解列表 2023年02月23日 0 点赞 0 评论 411 浏览 评分:6.0
很简单 请各位指正 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,n,a,b,c,d=0,e=0,g=0; scanf("%d",&n); for(i=…… 题解列表 2022年12月19日 0 点赞 0 评论 476 浏览 评分:6.0
2799: 奥运奖牌计数 摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[1000…… 题解列表 2023年02月24日 0 点赞 0 评论 492 浏览 评分:7.0
(cC语言超简单版)奥运奖牌计数 摘要:解题思路:分别计算金银铜三种的数量,这里要用到2维数组注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100][3]; int…… 题解列表 2022年11月12日 0 点赞 0 评论 563 浏览 评分:8.5
奥运奖牌计数(超简单,很容易看懂) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0…… 题解列表 2022年11月05日 0 点赞 0 评论 1091 浏览 评分:8.7
2799:不要忘记初始化变量-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n; int a,b,c; a = 0…… 题解列表 2022年12月20日 0 点赞 0 评论 705 浏览 评分:9.6
两种方法,简单易懂!!!! 摘要:解题思路:注意事项:数组可以不开那么大。参考代码:#include<bits/stdc++.h>using namespace std;//int a,b,c;int n,a[101][101],s,…… 题解列表 2023年02月22日 0 点赞 0 评论 554 浏览 评分:9.9