分数线划定(简单结构体) 摘要:解题思路:定义结构-输入-冒泡排序-输出注意事项:注意划定分数线的人数m*1.5取整后,如果有重分的话需要重新计算入选人数参考代码:#include<stdio.h>typedef struct St…… 题解列表 2024年08月04日 1 点赞 0 评论 612 浏览 评分:0.0
2876: 矩阵交换行 摘要:解题思路:注意事项:参考代码:l = []for i in range(5): s = list(input().strip().split()) l.append(s)a,b = map…… 题解列表 2024年08月04日 0 点赞 0 评论 868 浏览 评分:0.0
这个比1246数据要强,考虑了闰年的情况 摘要:#include<bits/stdc++.h> using namespace std; int main() { int y,m,d; char c; while…… 题解列表 2024年08月04日 0 点赞 0 评论 470 浏览 评分:0.0
1320: 字符串展开 摘要:解题思路:注意事项:只有一个小错误,91分参考代码:l = list(input().strip().split())if len(l) == 4: p1 = int(l[0]) p2 =…… 题解列表 2024年08月04日 2 点赞 0 评论 677 浏览 评分:0.0
不难,但有点繁琐 摘要:#include<bits/stdc++.h> using namespace std; int main() { char c[20]; cin>>c; int sum=0; …… 题解列表 2024年08月04日 0 点赞 0 评论 435 浏览 评分:0.0
--------------------字符串拼接------------------------------字符串倒序---------- 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include<string.h> void strcat_custom(char* dest, const char* …… 题解列表 2024年08月03日 0 点赞 0 评论 508 浏览 评分:9.9
2875: 回文子串 摘要:解题思路:注意事项:参考代码:s = input().strip()n = len(s)for i in range(2,n-1): a = 0 b = a + i while b …… 题解列表 2024年08月03日 0 点赞 0 评论 573 浏览 评分:0.0
自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,i; double M,Sn=0,An=0; scanf("%lf %d",&M,…… 题解列表 2024年08月03日 0 点赞 0 评论 326 浏览 评分:0.0
1049: [编程入门]结构体之时间设计——题解 ```c#includetypedefstruct{intyear,month,day;}YEAR;intmain(){YEARa;intday=0;scanf("%d%d%d",&a.year,&a.month,&a.day);if(a.year%4==0&&a.year%100!=0||a.yea 题解列表 2024年08月03日 0 点赞 0 评论 681 浏览 评分:9.9
[编程入门]自定义函数之字符串拷贝 题解 ```c#include#includevoidfun(charstr[],intn,intm){for(inti=n-1;i 题解列表 2024年08月03日 0 点赞 0 评论 725 浏览 评分:0.0