2794: 求平均年龄 摘要:解题思路:注意事项:要保留两位小数参考代码:#include<iostream>using namespace std;int main(){ int n,m; double sum = …… 题解列表 2024年01月09日 0 点赞 0 评论 506 浏览 评分:9.9
3010: 奇偶数之和 摘要:解题思路:注意事项:这里用long long长整型定义参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 527 浏览 评分:9.9
1011: [编程入门]最大公约数与最小公倍数 解题思路:注意事项:最小公倍数=两数之积/最大公因数参考代码:列表a,b=map(int,input().split())l=[]s=[]foriinrange(1,min(a,b)+1):ifa%i==0andb%i==0:l.append(i)foriinrange(min(a, 题解列表 2024年01月09日 0 点赞 0 评论 528 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 324 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m,sun; sum=0; …… 题解列表 2024年01月09日 0 点赞 0 评论 482 浏览 评分:9.9
2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx = 0; int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 358 浏览 评分:0.0
题解 2797: 最高的分数(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 366 浏览 评分:0.0
1137: C语言训练-求函数值 摘要:解题思路:注意事项:使用sys改变递归深度,避免报错参考代码:import syssys.setrecursionlimit(1000000)def f(x): if x == 1: …… 题解列表 2024年01月09日 0 点赞 0 评论 483 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:确定输出五个数参考代码:n = int(input())def i(n): for i in range(n): s = list(map(str, input…… 题解列表 2024年01月09日 0 点赞 0 评论 465 浏览 评分:0.0
题解 2794: 求平均年龄(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月09日 0 点赞 0 评论 597 浏览 评分:0.0