1738-排序(由小到大*多数据排序) 摘要:解题思路:用数组储存数据,两个for循环遍历数据,比较大小交换位置注意事项:会用到new获取数组大小参考代码:#include <iostream>using namespace std;void s…… 题解列表 2024年04月26日 0 点赞 2 评论 539 浏览 评分:9.9
结构体之时间设计(利用Java自带的时间类) 摘要:解题思路:注意事项:参考代码:import java.text.ParseException; import java.text.SimpleDateFormat; import java.uti…… 题解列表 2024年04月26日 0 点赞 0 评论 361 浏览 评分:9.9
2843: 计算2的N次方 (题目信息有误,某个测试点的N=0,解题N≥0) 摘要:倒数第3个测试点可能是N=0,所以需要考虑N=0的情况。 ```c #include #include int main() { int a[100]={1},s[1…… 题解列表 2024年04月27日 1 点赞 1 评论 403 浏览 评分:10.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:# include<stdio.h> int fun(int n) { return (n<=3?n:fun(n-1)+fun(n-3)); } int …… 题解列表 2024年04月27日 0 点赞 0 评论 470 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { int n,m; char sn[1111]="";…… 题解列表 2024年04月27日 0 点赞 0 评论 280 浏览 评分:0.0
2821: 开关灯 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;const int N=1e7;using namespace std;int …… 题解列表 2024年04月27日 1 点赞 0 评论 352 浏览 评分:2.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;const int N=1e7;using namespace std;int …… 题解列表 2024年04月27日 0 点赞 0 评论 291 浏览 评分:2.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define YU(x,y) x%y int main() { int x,y; scanf("%d %d…… 题解列表 2024年04月27日 0 点赞 0 评论 454 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> #define AREA(a,b,c) (a+b+c)/2 #define SQRT(S,a,…… 题解列表 2024年04月27日 0 点赞 0 评论 509 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) arr = [] [arr.append(list(map(str, input().split()))) for _ in ran…… 题解列表 2024年04月27日 0 点赞 0 评论 313 浏览 评分:0.0