摘要:
#include <bits/stdc++.h> #include <windows.h> #include <conio.h>//控制台输入输出头文件 using namespace std; int main(){ HANDLE handle=GetStdHandle(STD_OUTPUT_HA 阅读全文
posted @ 2024-04-20 15:59
fushuxuan1
阅读(21)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; int n[]={6,3,5,8,9,10,7,34,89,2}; //一般将第一个数作为基准数,根据基准数将数据分为两部分,大的在右,小的在左 //找准位置后,进入左排序递归,右排序递归 ,重复以上操作 void k 阅读全文
posted @ 2024-04-20 09:51
fushuxuan1
阅读(11)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; int main(){ string a="liuyixing"; for(double i=9;i>1;){ i=round(i/2); for(int j=0;j+i<9;j++){ if(a[j]>a[ 阅读全文
posted @ 2024-04-20 09:15
fushuxuan1
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号