2024年4月5日
摘要: #include <iostream> using namespace std; int main(){ int t,a[10]={1,2,3,4,5,6,7,8,9,10}; for(int i=1;i<=10;i++){ for(int j=i+1;j<=10;j++){ if(a[i]>a[j 阅读全文
posted @ 2024-04-05 09:54 爱吃泡面的皮卡 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; int main(){ int a[]={1,3,5,8,9,10,7,34,89,46}; int m=0; for(int i=1;i<10;i++){ for(int j=i;j>0;j--){ if(a[j]< 阅读全文
posted @ 2024-04-05 09:54 爱吃泡面的皮卡 阅读(1) 评论(0) 推荐(0) 编辑
  2024年3月24日
摘要: int count=0; for (int k=0;k<100;k++){ count++; } cout<<cunt; //程序执行次数:100 //时间复杂度:O(1) int count=0; for(int k=0;k<2*N;k++){ count++; } int M=10; while 阅读全文
posted @ 2024-03-24 09:47 爱吃泡面的皮卡 阅读(4) 评论(0) 推荐(0) 编辑
  2024年3月17日
摘要: #include <iostream> #include <vector> using namespace std; #define list 1 struct a{ string name; int id; int age; string Class; }index; void MAIN(){ c 阅读全文
posted @ 2024-03-17 09:57 爱吃泡面的皮卡 阅读(1) 评论(0) 推荐(0) 编辑
  2024年3月3日
摘要: #include <iostream> #include "minecraft.h" #include "Windows.h" TxMinecraft mc; using namespace std; int X,Y,Z,id=0,data=0; int a=0; void chu_shi_hua( 阅读全文
posted @ 2024-03-03 10:02 爱吃泡面的皮卡 阅读(4) 评论(0) 推荐(0) 编辑
  2024年3月1日
摘要: #include <iostream> #include <string> #include "Windows.h" #include "minecraft.h" TxMinecraft mc; using namespace std; int main(int argc, char** argv) 阅读全文
posted @ 2024-03-01 20:00 爱吃泡面的皮卡 阅读(2) 评论(0) 推荐(0) 编辑
  2024年1月28日
摘要: #include <iostream> #include "wanghuali.h" using namespace std; int main(int argc, char** argv) { wanghuali n; n.set(); n.get(); return 0; } class wan 阅读全文
posted @ 2024-01-28 11:20 爱吃泡面的皮卡 阅读(1) 评论(0) 推荐(0) 编辑
  2023年12月30日
摘要: #include <iostream> using namespace std; system("pause") 可以实现冻结屏幕 system("CLS") 可以实现清屏操作 调用color函数可以改变控制台的前景色和背景,具体参数在下面说明。 例如,用 system("color 0A"); 其 阅读全文
posted @ 2023-12-30 08:53 爱吃泡面的皮卡 阅读(10) 评论(0) 推荐(0) 编辑
  2023年12月29日
摘要: #include <iostream> #include <vector> using namespace std; #define list 1000 struct a{ string name; int id; int age; string Class; }index; void MAIN() 阅读全文
posted @ 2023-12-29 20:03 爱吃泡面的皮卡 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<vector> #include<windows.h> using namespace std; int a=999; int b=0; bool c=false; struct student{ string name; int age; i 阅读全文
posted @ 2023-12-29 18:59 爱吃泡面的皮卡 阅读(3) 评论(0) 推荐(0) 编辑