[编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[15];int main(){ for(int i=0;i<3;i++)…… 题解列表 2022年05月03日 0 点赞 0 评论 354 浏览 评分:0.0
C语言训练-排序问题<1> 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[15];int main(){ for(int i=0;i<4;i++)…… 题解列表 2022年05月03日 0 点赞 0 评论 339 浏览 评分:0.0
C语言训练-排序问题<2> 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[15];int main(){ for(int i=0;i<10;i++…… 题解列表 2022年05月03日 0 点赞 0 评论 384 浏览 评分:0.0
绝对值排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; bool cmp(int a, int b);int main(){ int…… 题解列表 2022年05月03日 0 点赞 0 评论 352 浏览 评分:0.0
数据结构-直接插入排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100005],n;int main(){ cin>>n; for…… 题解列表 2022年05月03日 0 点赞 0 评论 586 浏览 评分:0.0
数据结构-折半插入排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100005],n;int main(){ cin>>n; for…… 题解列表 2022年05月03日 0 点赞 0 评论 472 浏览 评分:0.0
编写题解 1027: [编程入门]自定义函数处理最大公约数与最小公倍数(递归法) 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())def maxgongyue(m,n): if n != 0 : return maxgong…… 题解列表 2022年05月03日 0 点赞 0 评论 478 浏览 评分:0.0
深搜c++ 题目陷阱 摘要:解题思路:注意事项:输入cin>>n>>m通常默认为行数和列数,这里题目规定先输入列数,在输入行数参考代码:#include<iostream> using namespace std; int …… 题解列表 2022年05月03日 0 点赞 0 评论 448 浏览 评分:0.0
我写的有点复杂,死办法,将就看就好了 摘要:解题思路:注意事项:参考代码:list=list(map(int,input().split()))list2=[i for i in list if i>=0]list3=[v for v in l…… 题解列表 2022年05月03日 0 点赞 0 评论 430 浏览 评分:0.0
十六进制转八进制(C++) 摘要:解题思路:将十六进制先转为十进制,再转为八进制参考代码:#include<iostream>#include<cstring>#include<cmath>using namespace std;in…… 题解列表 2022年05月03日 1 点赞 0 评论 691 浏览 评分:0.0