c代码记录之第k极值--水题 摘要:排序,注意m为负的情况 ```c #include int main() { int n,k,m,i,j,temp; scanf("%d%d",&n,&k); i…… 题解列表 2024年01月09日 0 点赞 0 评论 196 浏览 评分:0.0
题解 2794: 求平均年龄(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月09日 0 点赞 0 评论 209 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:确定输出五个数参考代码:n = int(input())def i(n): for i in range(n): s = list(map(str, input…… 题解列表 2024年01月09日 0 点赞 0 评论 129 浏览 评分:0.0
1137: C语言训练-求函数值 摘要:解题思路:注意事项:使用sys改变递归深度,避免报错参考代码:import syssys.setrecursionlimit(1000000)def f(x): if x == 1: …… 题解列表 2024年01月09日 0 点赞 0 评论 123 浏览 评分:0.0
题解 2797: 最高的分数(c++) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 104 浏览 评分:0.0
2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int maxx = 0; int n; ci…… 题解列表 2024年01月09日 0 点赞 0 评论 106 浏览 评分:0.0
题解 2798: 整数序列的元素最大跨度值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int b; cin>>b; int m…… 题解列表 2024年01月09日 0 点赞 0 评论 76 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:最小公倍数=两数之积/最大公因数参考代码:列表a, b = map(int,input().split())l = []s = []for i in range(1, min(a,…… 题解列表 2024年01月09日 0 点赞 0 评论 190 浏览 评分:0.0
简短求解2247 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年01月09日 0 点赞 0 评论 122 浏览 评分:0.0
求平均年龄 2794: 摘要:解题思路:#include <iostream>using namespace std;int main(){ int n; double sum =0; cin>>n; fo…… 题解列表 2024年01月09日 0 点赞 0 评论 143 浏览 评分:0.0