Python满分代码 摘要:解题思路:python真nb,写个全局变量,然后在函数中直接引用注意事项:参考代码:num=int(input())def f(j,a): i=0 …… 题解列表 2026年05月02日 0 点赞 0 评论 725 浏览 评分:0.0
C++奥运奖牌计数 解题思路:注意事项:参考代码:#include#include#include#includeusingnamespacestd;intmain(void){intn, 题解列表 2026年02月22日 0 点赞 0 评论 238 浏览 评分:0.0
奥运奖牌计数 用数组 解题思路:注意事项:参考代码:#includeintmain(){longn,i,j,A=0,B=0,C=0;scanf("%ld",&n);longa[100],b[100],c[100];for(i=0;i 题解列表 2025年12月20日 0 点赞 0 评论 254 浏览 评分:0.0 刷题记录2025/12/3 2799: 奥运奖牌计数 解题思路:注意事项:参考代码:#includeintmain(){intn,i,a,b,c,A=0,B=0,C=0,sum;scanf("%d\n",&n);for(i=1;i<=n;i++){scanf("%d%d%d\n", 题解列表 2025年12月03日 0 点赞 0 评论 323 浏览 评分:0.0 c++简单解法 #includeusingnamespacestd;intmain(){intn;cin>>n;intsumjin=0,sumyin=0,sumtong=0;\\求和定义一定要初始化for(inti=0;i 题解列表 2025年11月01日 0 点赞 0 评论 332 浏览 评分:0.0 2799: 奥运奖牌计数 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n; int a…… 题解列表 2025年09月24日 0 点赞 0 评论 555 浏览 评分:8.0 2799 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,gold,silver,bronze,sum=0,sum_go…… 题解列表 2025年08月02日 1 点赞 0 评论 417 浏览 评分:10.0 2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 303 浏览 评分:0.0 奥运奖牌计数 摘要:解题思路: 1、先定义一个整型变量 用来表示天数,使用scanf函数输入天数&n…… 题解列表 2025年06月14日 0 点赞 0 评论 407 浏览 评分:0.0 编写题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ long long n,a=0,b=0,c=0;int j…… 题解列表 2024年12月22日 1 点赞 0 评论 515 浏览 评分:0.0 « 123456 »
刷题记录2025/12/3 2799: 奥运奖牌计数 解题思路:注意事项:参考代码:#includeintmain(){intn,i,a,b,c,A=0,B=0,C=0,sum;scanf("%d\n",&n);for(i=1;i<=n;i++){scanf("%d%d%d\n", 题解列表 2025年12月03日 0 点赞 0 评论 323 浏览 评分:0.0
c++简单解法 #includeusingnamespacestd;intmain(){intn;cin>>n;intsumjin=0,sumyin=0,sumtong=0;\\求和定义一定要初始化for(inti=0;i 题解列表 2025年11月01日 0 点赞 0 评论 332 浏览 评分:0.0 2799: 奥运奖牌计数 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n; int a…… 题解列表 2025年09月24日 0 点赞 0 评论 555 浏览 评分:8.0 2799 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,gold,silver,bronze,sum=0,sum_go…… 题解列表 2025年08月02日 1 点赞 0 评论 417 浏览 评分:10.0 2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 303 浏览 评分:0.0 奥运奖牌计数 摘要:解题思路: 1、先定义一个整型变量 用来表示天数,使用scanf函数输入天数&n…… 题解列表 2025年06月14日 0 点赞 0 评论 407 浏览 评分:0.0 编写题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ long long n,a=0,b=0,c=0;int j…… 题解列表 2024年12月22日 1 点赞 0 评论 515 浏览 评分:0.0 « 123456 »
2799: 奥运奖牌计数 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n; int a…… 题解列表 2025年09月24日 0 点赞 0 评论 555 浏览 评分:8.0
2799 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,gold,silver,bronze,sum=0,sum_go…… 题解列表 2025年08月02日 1 点赞 0 评论 417 浏览 评分:10.0
2025/7/26刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu…… 题解列表 2025年07月26日 0 点赞 0 评论 303 浏览 评分:0.0
编写题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ long long n,a=0,b=0,c=0;int j…… 题解列表 2024年12月22日 1 点赞 0 评论 515 浏览 评分:0.0