题解 2794: 求平均年龄(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月09日 0 点赞 0 评论 268 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:确定输出五个数参考代码:n = int(input())def i(n): for i in range(n): s = list(map(str, input…… 题解列表 2024年01月09日 0 点赞 0 评论 165 浏览 评分:0.0
1137: C语言训练-求函数值 摘要:解题思路:注意事项:使用sys改变递归深度,避免报错参考代码:import syssys.setrecursionlimit(1000000)def f(x): if x == 1: …… 题解列表 2024年01月09日 0 点赞 0 评论 167 浏览 评分:0.0
题解 2797: 最高的分数(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 136 浏览 评分:0.0
2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx = 0; int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 142 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 107 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:最小公倍数=两数之积/最大公因数参考代码:列表a, b = map(int,input().split())l = []s = []for i in range(1, min(a,…… 题解列表 2024年01月09日 0 点赞 0 评论 225 浏览 评分:0.0
简短求解2247 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月09日 0 点赞 0 评论 159 浏览 评分:0.0
求平均年龄 2794: 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; double sum =0; cin>>n; fo…… 题解列表 2024年01月09日 0 点赞 0 评论 192 浏览 评分:0.0
最长单词2(C语言,短小精悍) 摘要:解题思路:可以用两个数组a,b,因为%s是不收取空格,用while循环每次获取一段,然后对比当然也可以用二维数组注意事项:参考代码:#include<stdio.h> #include<string…… 题解列表 2024年01月09日 1 点赞 0 评论 387 浏览 评分:0.0