题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int ZS(int n){ if(n<2) return 0;…… 题解列表 2022年11月04日 0 点赞 0 评论 236 浏览 评分:0.0
两种解法(sort和快速排序) 摘要:解题思路:第一种是利用c++内置函数sort,第二种是利用快速排序.(建议掌握第二种)注意事项:参考代码:第一种:第二种:#include<bits/stdc++.h> using namespac…… 题解列表 2022年11月04日 0 点赞 0 评论 238 浏览 评分:0.0
不用二维数组来解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct st{ int g; char nam…… 题解列表 2022年11月04日 0 点赞 0 评论 268 浏览 评分:0.0
偶数求和和和和和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstdio>using namespace std;int main(){…… 题解列表 2022年11月04日 0 点赞 0 评论 241 浏览 评分:9.9
使用while循环 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int huiwen(int i){ int k; k=i; int t,s=0; …… 题解列表 2022年11月03日 0 点赞 0 评论 273 浏览 评分:9.9
整数序列的元素最大跨度值(c++贼简单) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, n, c, max, min; cin >>…… 题解列表 2022年11月03日 0 点赞 0 评论 573 浏览 评分:6.9
题解 2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int b[501]={0},a[252]={0…… 题解列表 2022年11月03日 0 点赞 0 评论 231 浏览 评分:0.0
结构体sort排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct M{ string s; float …… 题解列表 2022年11月03日 0 点赞 0 评论 246 浏览 评分:0.0
利用sort进行结构体排序(简单易上手) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct Geade{ int id,y,s,e,s…… 题解列表 2022年11月03日 0 点赞 0 评论 184 浏览 评分:0.0
去掉空格(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; #include<string> int main() { string…… 题解列表 2022年11月03日 0 点赞 0 评论 503 浏览 评分:9.9