我这个应该是挺好理解的吧 摘要:```cpp #include using namespace std; int main() { int n,m; while(cin>>n>>m)//n…… 题解列表 2023年01月19日 0 点赞 0 评论 471 浏览 评分:0.0
1093: 字符逆序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string>#include<algorithm>//导入algorith…… 题解列表 2023年01月20日 0 点赞 0 评论 424 浏览 评分:0.0
1470: 蓝桥杯基础练习VIP-时间转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ long long n; while(cin>>n){ int a…… 题解列表 2023年01月20日 0 点赞 0 评论 354 浏览 评分:0.0
日期非结构解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, y, r; int h; int i; int sum=0; scanf("%d%d%d", &n…… 题解列表 2023年01月20日 0 点赞 0 评论 342 浏览 评分:0.0
暴力解法解决绝对值排序 摘要:解题思路:定义两个一样大小的数组,一个数组用来存放输入的数据,另一个数组则用来记录是否是负数的判断,然后对于第一个数组遍历,如果小于0,则转化为它的相反数,否则不做处理,然后使用冒泡排序或者选择排序(…… 题解列表 2023年01月20日 0 点赞 0 评论 369 浏览 评分:0.0
1477: 字符串输入输出函数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<string>using namespace std;int shu(string…… 题解列表 2023年01月20日 0 点赞 0 评论 421 浏览 评分:0.0
数据结构-快速排序 摘要:解题思路:注意事项:参考代码: #include<bits/stdc++.h>using namespa…… 题解列表 2023年01月20日 0 点赞 0 评论 458 浏览 评分:0.0
宏定义练习之三角形面积,学的浅咯,还可以这样 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define y1(a,b,c) S=(a+b+c)/2#define y2(a,b,c) sqrt(…… 题解列表 2023年01月20日 0 点赞 0 评论 331 浏览 评分:0.0
排序(超简单的sort排序) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int arr[200000]={0};int main(){ int n; wh…… 题解列表 2023年01月20日 0 点赞 0 评论 447 浏览 评分:0.0
两种方法解决 摘要:解题思路:注意事项:参考代码:解法一:用公司算(吉姆拉尔森)#include<iostream>#include<string>using namespace std;string week[] = …… 题解列表 2023年01月21日 0 点赞 0 评论 415 浏览 评分:0.0