快速排序 求解 时间复杂度低 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N = 1e6 + 10;int n;int a[N];voi…… 题解列表 2022年10月15日 0 点赞 0 评论 159 浏览 评分:0.0
C语言 选择顺序& 摘要:解题思路:见注释注意事项:参考代码:#include<stdio.h>int main(){ int nums[10]= { 0 }; for(int i=0;i<sizeof(nums)…… 题解列表 2022年10月16日 0 点赞 0 评论 132 浏览 评分:0.0
1023一行解(Python) 摘要:解题思路:略注意事项:虽然没用指定方法,但是秉持着解决问题为第一要务,还是记录一下吧参考代码:for data in sorted(list((map(int, input().split()))))…… 题解列表 2022年11月04日 0 点赞 0 评论 194 浏览 评分:0.0
数组的选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,t,k,j; for(i=0;i<10;i++) …… 题解列表 2022年11月09日 0 点赞 0 评论 164 浏览 评分:0.0
1023: [编程入门]选择排序 摘要:```c #include const int NUM = 10; int main() { int i = 0,min=0,min_index=0; int a[11]; …… 题解列表 2022年11月14日 0 点赞 0 评论 213 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序 摘要:解题思路:找到最小值,和第一个元素交换参考代码: import java.util.Scanner; public class Main { public static void mai…… 题解列表 2022年12月19日 0 点赞 0 评论 158 浏览 评分:0.0
[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a[10]; int secm(int x[],int y); for(…… 题解列表 2022年12月21日 0 点赞 0 评论 120 浏览 评分:0.0
两种方法编写题解 1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<iomanip>using namespace std;int main() { …… 题解列表 2023年01月13日 0 点赞 0 评论 148 浏览 评分:0.0
简单的冒泡排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void bubblesort(int *a,int n){ bool fla…… 题解列表 2023年03月10日 0 点赞 0 评论 171 浏览 评分:0.0
排序最简单代码Python 入门级别 摘要:解题思路:注意事项:参考代码:ls=list(map(int,input().split())) #将一串数处理后,放入列表ls.sort()for j in ls: print(j) …… 题解列表 2023年03月27日 0 点赞 0 评论 135 浏览 评分:0.0