编写题解 2799: 奥运奖牌计数 摘要:解题思路:sum的用法注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a[n]…… 题解列表 2023年02月23日 0 点赞 0 评论 211 浏览 评分:6.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 评论 450 浏览 评分:2.0
2799 奥运奖牌计数 摘要:解题思路: #include <bits/stdc++.h> using namespace std; int main() { int n,sum1=0, sum…… 题解列表 2024年06月16日 0 点赞 0 评论 273 浏览 评分:2.0
奥运奖牌计数C语言for循环做法分享 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a,b,c,d=0,e=0,f=0,g=0; scanf("%d",&n); …… 题解列表 2024年11月23日 0 点赞 0 评论 233 浏览 评分:0.0
奥运金牌计数(c语言) 摘要:解题思路:二维数组注意事项:二维数组的输入输出方式参考代码:#include<stdio.h>int main(){int i,j,n,b=0,c=0,d=0,sum=0;scanf("%d",&n)…… 题解列表 2022年11月12日 0 点赞 0 评论 255 浏览 评分:0.0
奥运奖牌计数 摘要:解题思路:注意事项:参考代码:n = int(input())x = 0y = 0z = 0for i in range(n): a,b,c = map(int, input().split()…… 题解列表 2024年07月29日 0 点赞 0 评论 163 浏览 评分:0.0
旧物有情 # 奥运奖牌计数 一看就懂 摘要:``` #include #include using namespace std; int n,jin,yin,tong; int main(){ cin >> n; …… 题解列表 2024年10月17日 0 点赞 0 评论 132 浏览 评分:0.0
奥运奖牌计数C解 摘要:解题思路:注意事项:很简单的,一步步来就是参考代码:#include<stdio.h>int main(){ int n,i,j,a[20][3],sum1=0,sum2=0,sum3=0; …… 题解列表 2024年02月17日 0 点赞 0 评论 246 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c,d,e=0,f=0,g=0; scanf("%d",&a); whil…… 题解列表 2024年11月26日 1 点赞 0 评论 221 浏览 评分:0.0