问题标题: XZ**

0
1
已解决
王梓轩
王梓轩
资深光能
资深光能
#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
#include<tchar.h>
#include<direct.h>
#define qdo 262
#define qre 294
#define qmi 330   //q前缀为低音,1后缀为高音,s前缀为半音阶 
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define dol 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
using namespace std;
void hide()
{
	CONSOLE_CURSOR_INFO cursor;
	cursor.bVisible = 0;
	cursor.dwSize = 1;
	SetConsoleCursorInfo(GetStdHandle(-11),&cursor);
}
string path()
{
	char buff[250];
	_getcwd(buff, 250);
	std::string current_working_directory(buff);
	string s=current_working_directory;
	for(int i=0; i<s.size(); i++)
		if(s[i]=='\\')
			s.insert(i,"\\"),i++;
	return s;
}
class Head
{
	public:
		Head();
		void setsize(int);
		long int getsa();
		long int getsize();
		~Head();
	private:
		char RIFF[4];
		long int size0;
		char WAVE[4];
		char FMT[4];
		long int size1;
		short int fmttag;
		short int channel;
		long int samplespersec;
		long int bytepersec;
		short int blockalign;
		short int bitpersamples;
		char DATA[4];
		long int size2;
};
Head::Head()
{
	strcpy(RIFF,"RIFF");
	size0=0;
	strcpy(WAVE,"WAVE");
	strcpy(FMT,"fmt ");
	size1=16;
	fmttag=1;
	channel=1;
	samplespersec=11025;
	bytepersec=11025;
	blockalign=1;
	bitpersamples=8;
	strcpy(DATA,"data");
	size2=0;
}
Head::~Head()
{
}
void Head::setsize(int size)
{
	Head::size0=size+24;
	Head::size2=size;
}
long int Head::getsa()
{
	return Head::samplespersec;
}
long int Head::getsize()
{
	return Head::size2;
}
int L[8]= {0,131,147,165,175,196,220,247};
int N[8]= {0,262,296,330,349,392,440,494};
int H[8]= {0,523,587,659,698,784,880,988};
int I[8]= {0,1047,1175,1319,1397,1568,1760,1979};
int pai=11025/4;
int jiepai[80][2]= {{N[3],4},{N[3],2},{N[2],2},{N[3],4},{N[0],4},{N[3],2},{N[5],2},
	{N[3],2},{N[2],2},{N[3],8},{N[1],4},{N[1],2},{N[2],2},{N[3],2},
	{N[5],2},{N[3],4},{N[2],4},{N[2],2},{N[1],2},{N[2],8},{N[3],6},
	{N[5],1},{N[3],1},{N[6],2},{N[5],6},{N[6],2},{N[5],2},{N[5],2},
	{N[3],2},{N[5],6},{L[5],5},{N[3],4},{N[2],2},{N[2],2},{N[5],4},
	{N[3],2},{N[2],2},{N[2],4},{N[1],4},{N[2],8},{N[3],4},{N[3],2},
	{N[2],2},{N[3],8},{N[3],2},{N[5],2},{N[3],2},{N[3],2},{N[3],8},
	{N[1],4},{N[1],2},{N[2],2},{N[3],2},{N[5],2},{N[3],4},{N[2],4},
	{N[2],2},{N[2],1},{N[2],8},{N[3],6},{N[5],1},{N[3],1},{N[6],1},
	{N[5],6},{N[6],2},{N[5],2},{N[5],2},{N[3],2},{N[5],8},{N[0],2},
	{N[3],2},{N[2],2},{N[3],2},{N[3],4},{N[5],4},{N[3],2},{N[2],2},
	{N[2],2},{N[1],7},{N[0],8}
};
void runrun()
{
	Head head;
	int i,i2,i3;
	float a=0;
	i3=0;
	int size=0;
	for(i=0; i<80; i++)
		size+=jiepai[i][1];
	head.setsize(size*pai);
	char body[head.getsize()];//同时将WAV的数据大小确认
	for(i2=0; i2<80; i2++)
	{
		if(jiepai[i2][0]!=0)
		{
			a=(11025/(jiepai[i2][0]));
		};
		for(i=0; i<jiepai[i2][1]*pai; i++)
		{
			if(jiepai[i2][0]!=0)
			{
				body[i+i3]=(int)(64*sin(6.28/a*i)*(sin(3.14*i/pai/jiepai[i2][1]))+128);
			}
			else
			{
				body[i+i3]=128;
			};
		}
		i3+=jiepai[i2][1]*pai;
	}
	ofstream ocout;
	ocout.open("1213.wav",ios::out|ios::binary);
	ocout.write((char*)&head,sizeof head);
	ocout.write((char*)&body,sizeof body);
	ocout.close();
}
bool dyc;
string name,mima;
HANDLE hOutput=GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_FONT_INFO consoleCurrentFont;
const int isshow=-1;
void color(int a)
{
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),a);
}
void SetPos(int x,int y)
{
	HANDLE Handle;
	COORD pos= {y,x};
	Handle=GetStdHandle(STD_OUTPUT_HANDLE);
	SetConsoleCursorPosition(Handle,pos);
}
int sdfg()
{
	system("cls");
	int n;
	int cnt=0;
	cout<<"                           数字漩涡:"<<endl;
	cout<<"对一个正整数,不断进行如下操作:\n如果它是奇数,就对它乘3再加1,如果是偶数,就除以2。\n最终这个整数会变成1。就像是数字落入了漩涡,\n最终都会被卷入漩涡中心。"<<endl;
	cout<<"[按任意键开始游戏]";
	getch();
	system("cls");
	cout<<"输入一个数:";
	cout<<endl;
	cout<<"=============";
	cin>>n;
	system("cls");
	while(true)
	{
		if(n==1)
		{
			break;
		}
		if(n%2==1&&n!=1)
		{
			Sleep(1000);
			cout<<n<<" 奇数,对它乘三加一 "<<"第"<<cnt<<"次";
			n=n*3+1;
			cnt++;
			cout<<endl;
		}
		if(n%2==0)
		{
			Sleep(1000);
			cout<<n<<" 偶数,对它除以二 "<<"第"<<cnt<<"次";
			n/=2;
			cnt++;
			cout<<endl;
		}
	}
	cout<<"[按任意键继续]";
	getch();
}
void loading()
{
	for(int i=35; i<=64; i++)
	{
		SetPos(15,i);
		cout<<"_";
		SetPos(16,i);
		cout<<"_";
		Sleep(30);
	}
	color(FOREGROUND_BLUE);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_GREEN);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_BLUE);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_RED);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
}
void zd()
{
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_3.txt";
	ofstream OutFile(pathlujingdaaiwenjia.c_str());
	OutFile<<name<<endl;
	OutFile.close();
}
void zdd()
{
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_2.txt";
	ofstream OutFile(pathlujingdaaiwenjia.c_str());
	OutFile<<mima<<endl;
	OutFile.close();
}
void loading2()
{
	system("cls");
	cout<<"正在开机,请等候...";
	Sleep(2000);
	srand((unsigned)time(NULL));
	system("color 02");
	for(int i=1; i<=300; i++)
	{
		for (int k = 0; k <= 90; k++)
			if (rand() % 5 >= 3)
				printf("%-*d", rand() % 3 + 2, k % 2);
		printf("\n");
		Sleep(7);
	}
}
void administrator()
{
	system("cls");
	string a;
	cout<<"请输入新用户名:\n";
	cin>>a;
	name=a;
	cout<<"修改成功!\n";
	zd();
}
void cipher()
{
	system("cls");
	string a;
	cout<<"请输入原密码:\n";
	cin>>a;
	ifstream OutFile("XZ数据.txt");
	OutFile>>mima;
	OutFile.close();
	if(a!=mima)cout<<"错误!\n";
	else
	{
		cout<<"请输入新密码:\n";
		cin>>a;
		mima=a;
		cout<<"修改成功!\n";
		zdd();
	}
}
int l,r;
void Sort(int *a,int e,int f)
{
	int i=l,j=r,mid=a[(e+f)/2];
	while(i<=j)
	{
		while(a[i]<mid)i++;
		while(a[j]>mid)j--;
		if(i<=j)
		{
			system("cls");
			if(i!=j)cout<<"交换第"<<i<<"和"<<j<<"个数\n";
			for(int k=l; k<=r; k++)
			{
				if(k==i||k==j)
				{
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN|BACKGROUND_BLUE);
					cout<<a[k];
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),0);
					cout<<" ";
				}
				else
				{
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
					cout<<a[k]<<" ";
				}
			}
			SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
			SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
			cout<<"\n";
			system("pause");
			swap(a[i],a[j]),i++,j--;
		}
	}
	if(e<j)Sort(a,e,j);
	if(i<f)Sort(a,i,f);
}
void SSort()
{
	system("color 0f");
	int min,n,a[100005];
	cout<<"排序过程中,标蓝即为要交换的数。\n";
	cout<<"请输入个数:(<10000)\n";
	cin>>n;
	cout<<"请输入各个数字:\n";
	for(int i=1; i<=n; i++)cin>>a[i];
	l=1,r=n;
	Sort(a,l,r);
	system("cls");
	system("color 0f");
	cout<<"最终排序序列:\n";
	for(int i=1; i<=n; i++)cout<<a[i]<<" ";
}
void xzsort()
{
	system("color 0f");
	int min,n,a[100005];
	cout<<"排序过程中,标蓝即为要交换的数。\n";
	cout<<"请输入个数:(<10000)\n";
	cin>>n;
	cout<<"请输入各个数字:\n";
	for(int i=1; i<=n; i++)cin>>a[i];
	for(int i=1; i<n; i++)
	{
		system("cls");
		system("color 0f");
		min=i;
		for(int j=i+1; j<=n; j++)if(a[min]>a[j])min=j;
		if(min==i)cout<<"求出第"<<i<<"个数是"<<a[min]<<"\n";
		else cout<<"交换"<<"第"<<i<<"和"<<min<<"个数\n"<<"求出第"<<i<<"个数是"<<a[i]<<"\n";
		for(int j=1; j<=n; j++)
		{
			if(j==i||j==min)
			{
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN|BACKGROUND_BLUE);
				cout<<a[j];
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),0);
				cout<<" ";
			}
			else
			{
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
				cout<<a[j]<<" ";
			}
		}
		swap(a[i],a[min]);
		cout<<"\n";
		SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
		SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
		system("pause");
	}
	system("cls");
	system("color 0f");
	cout<<"最终排序序列:\n";
	for(int i=1; i<=n; i++)cout<<a[i]<<" ";
}
void tps()
{
	long long n,a[105]= {0},t;
	cout<<"请输入个数:(<2^62)\n";
	cin>>n;
	cout<<"请输入各个数字:(<100)\n";
	for(int i=1; i<=n; i++)cin>>t,a[t]++;
	system("cls");
	for(int i=0; i<=100; i++)if(a[i]!=0)cout<<i<<"的个数:"<<a[i]<<endl;
	cout<<"最终排序序列:\n";
	for(int i=0; i<=100; i++)for(int j=1; j<=a[i]; j++)cout<<i<<" ";
}
void mpsort()
{
	int n,a[10005];
	system("color 0f");
	cout<<"排序过程中,标蓝即为要交换的数。\n";
	cout<<"请输入个数:(<10000)\n";
	cin>>n;
	cout<<"请输入各个数字:\n";
	for(int i=1; i<=n; i++)cin>>a[i];
	for(int i=1; i<=n; i++)
	{
		for(int j=1; j<=n-i; j++)
			if(a[j]>a[j+1])
			{
				system("cls");
				system("color 0f");
				cout<<"第"<<i<<"轮"<<"排序\n";
				cout<<"交换第"<<j<<"和"<<j+1<<"个数\n";
				for(int k=1; k<=n; k++)
					if(k==j||k==j+1)
					{
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN|BACKGROUND_BLUE);
						cout<<a[k];
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),0);
						cout<<" ";
					}
					else
					{
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
						cout<<a[k]<<" ";
					}
				swap(a[j],a[j+1]);
				cout<<"\n";
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
				system("pause");
			}
		system("cls");
		system("color f0");
		cout<<"第"<<i<<"轮"<<"排序,求出第"<<n-i+1<<"个数是"<<a[n-i+1]<<"\n";
		system("pause");
	}
	system("color f0");
	system("cls");
	cout<<"成功!\n";
	cout<<"最终排序序列:\n";
	for(int i=1; i<=n; i++)cout<<a[i]<<" ";
}
void City()
{

	system("cls");
	system("time /T");
	char as,bs,cs,ds,es;
	cout<<"北京|B\n";
	cout<<"合肥|H\n";
	cout<<"杭州|h\n";
	cout<<"上海|S\n";
	cout<<"太原|t\n";
	cout<<"南京|N\n";
	cout<<"广州|g\n";
	cout<<"纽约|n\n";
	as=getch();
	if(as=='B')
	{
		system("cls");
		system("color 46");
		cout<<"北京(Beijing),简称京,古称燕京、北平,**人民**国首都、直辖市、国家中心城市、超大城市,\n全国**中心、文化中心、国际交往中心、科技创新中心,是中国****委员会、\n**人民**国**人民**和全国**的办公所在地。\n";
		cout<<"北京位于东经115.7°—117.4°,北纬39.4°—41.6°,中心位于北纬39°54′20″,东经116°25′29″\n,总面积16412平方千米。北京位于中国华北平原北部,背**燕山,\n毗邻天津市和河北省。北京的气候为典型的北温带半湿润大陆**季风气候。\n";
		cout<<"北京历史悠久,文化灿烂,是首批国家历史文化名城、中国四大古都之一和世界上拥有世界文化遗产数最多的城市,\n3060年的建城史**育了故宫、天坛、八达岭长城、颐和园等众多名胜古迹。\n早在七十万年前,\n北京周口店地区就出现了原始人群部落“北京人”。\n公元前1045年,北京成为蓟、燕等诸侯国的都城。公元938年以来,\n北京先后成为辽陪都、金中都、元大都、明、清国都、****北洋**首都,\n1949年10月1日成为**人民**国首都。2019年1月11日,北京市级行政中心正式迁入北京城\n市副中心。";
		cout<<"北京被世界城市研究机构GaWC评为世界一线城市。**报告指出北京人类发展指数居中国城市第二位。\n2020年,北京市全年实现地区生产总值36102.6亿元,按可比价格计算,比上年增长1.2%。\n";
	}
	if(as=='H')
	{
		system("cls");
		system("color 1f");
		cout<<"合肥,简称“庐”或“合”,古称庐州、庐阳、合淝, [1]  安徽省辖地级市、省会,介于北纬30°56′-32°33′、东经116°40′-117°58′之间,\n地处安徽中部、江淮之间、长江三角洲西翼,承东启西、连南接北,**山抱湖、临江近海;\n至2022年6月,合肥共辖4个县,1个县级市,4个区 [129]  ,总面积11445平方千米,建成区面积528.5平方千米。\n截至2021年末,合肥市常住人口为946.5万人,城镇化率达84.04%。 [99]  [126]\n ";
		cout<<"以合肥为中心的环巢湖流域,是**文明的重要发祥地之一,因东淝河与南淝河均发源于此而得名。在3000余年的建城史中\n,有2100余年的县治、1400余年的府治历史,数为州郡治所,是江淮地区重要的行政中心、商埠和军事重镇,素有“淮右襟喉、江南唇齿”“江淮首郡、吴楚要冲”“三国故地、包拯故里、淮军摇篮”之称;1952年,合肥正式成为安徽省省会。 [127]\n ";
		cout<<"2021年,合肥市实现地区生产总值11412.80亿元,按可比价格计算,比上年增长9.2%。\n其中,第一产业增加值351.05亿元,增长5.1%;第二产业增加值4171.21亿元,增长10.6%,其中工业增加值2472.25亿元,增长15.7%;第三产业增加值6890.54亿元,增长8.6%。\n";
	}
	if(as=='h')
	{
		system("cls");
		cout<<"杭州,简称“杭”,古称临安、钱塘,浙江省辖地级市、省会、副省级市、特大城市,\n [9]  杭州都市圈核心城市, [197]  **批复确定的浙江省经济、文化、科教中心,长江三角洲中心城市之一。\n [1]  [146]  截至2019年,全市下辖10个市辖区、2个县,\n代管1个县级市,总面积16850平方千米, [142]  建成区面积648.46平方千米。\n [2]  截至2021年底,杭州市常住人口为1220.4万人。 [141]  [182]  2021年,全市实现地区生产总值18109亿元。 [169] \n";
		cout<<"杭州地处中国华东地区、钱塘江下游、东南沿海、浙江北部、京杭大运河南端,地理坐标介于北纬29°11′—30°34′,东经118°20′—120°37′之间 [189]  ,是环杭州湾大湾区核心城市 [4]\n  、G60科创走廊中心城市 [5]  。杭州人文古迹众多,西湖及其周边有大量的自然及人文景观遗迹,\n具代表**的有西湖文化、良渚文化、丝绸文化、茶文化。\n";
		cout<<"杭州是首批国家历史文化名城,以“东南名郡”著称于世。跨湖桥遗址的发掘显示8000多年前\n,就有人类在此繁衍生息。距今5000多年前的良渚文化被称为“**文明的曙光”。\n杭州自秦朝设县治以来,已有2200多年历史,曾是吴越国和南宋的都城。 [140]\n";
		cout<<"杭州因风景秀丽,素有“人间天堂”的美誉。杭州得益于京杭大运河和通商口岸的便利,以及自身发达的丝绸和粮食产业,历史上曾是重要的商业集散中心。\n新世纪以来,随着阿里巴巴等高科技企业的带动,互联网经济成为杭州新的经济增长点。2016年G20峰会、2018年世界短池游泳锦标赛、\n2022年亚运会在杭州举办。 [145]  2020年中国百强城市排行榜,杭州排第5位。 [6] \n";

	}
	if(as=='S')
	{
		system("cls");
		cout<<"上海,简称“沪”或“申”,是**人民**国省级行政区\n直辖市、国家中心城市、超大城市、上海大都市圈核心城市,**批复确定的中国国际经济、金融、贸易、航运、科技创新中心 [1]  ,\n国家历史文化名城 [226]  。截至2019年,全市下辖16个区,总面积6340.5平方千米 [199]  [206] \n ,建成区面积1237.85平方千米 [2-5]    。2021年末,全市常住人口为2489.43万人。\n [182]  2021年,上海市地区生产总值43214.85亿元,GDP同比增长8.1%。 [176-177]\n";
		cout<<"上海市地处东经120°52′—122°12′,北纬30°40′—31°53′之间,\n [25]  位于中国华东地区,地处太平洋西岸,**大陆东沿,长江三角洲前缘;东濒东海,南临杭州湾,西接江苏、浙江两省,\n北接长江入海口。 [30]  上海平均海拔高度2.19米,大**岛为上海最高点,海拔高度103.7米。\n上海河网主要有流经市区的主干道黄浦江及其支流苏州河、川杨河、淀浦河等。\n";
		cout<<"约6000年前,现在的上海西部即已成陆。春秋战国时,上海是春申君的封邑,\n故别称申。晋朝时,因渔民创造捕鱼工具“扈”,江流入海处称“渎”,因此松江下游一带称为“扈渎”,后又改“沪”,\n故上海简称“沪”。1292年,元朝把上海镇从华亭县划出,批准设立上海县,标志着上海建城之始。\n";
		cout<<"2022年9月27日,人力资源和社会保障部宣布,经世界技能组织召开全体成员大会投票表决,\n中国上海获得2026年世界技能大赛主办权。 [219]  2021年,上海入选2021全球城市500强前十名单。 [224]\n";

	}
	if(as=='t')
	{
		system("cls");
		cout<<"太原,简称“并(bīng)”,古称晋阳,别称并州、龙城,山西省辖地级市、省会、\nⅠ型大城市, [288]  **批复确定的中部地区重要的中心城市、以能源、重化工为主的工业基地。\n [1]  [160]  截至2021年,全市辖6个区、3个县,代管1个县级市, [170]  总面积6988平方千米, [7]  全市常住人口为5390957人。/n [266]  2021年太原实现地区生产总值5121.61亿元。 [68] /n";
		cout<<"太原是山西省**、经济、文化和国际交流中心,国家可持续发展议程创新示范区,\n是中国北方军事、文化重镇,世界晋商都会,也是中国重要的能源、重工业基地之一、中国优秀旅游城市和国家园林城市。\n [2]  太原曾成功举办第二届全国青年运动会、中国中部博览会和中国电视华鼎奖等重要大型活动。\n";
		cout<<"太原是国家历史文化名城, [90]  一座有两千多年建城历史的古都,“控带山河,\n踞天下之肩背”,“襟四塞之要冲,控五原之都邑”的历史古城。全市三面环山,黄河第二大支流汾河自北向南流经,\n自古就有“锦绣太原城”的美誉。 [2]/n";
		cout<<"2019年8月13日,太原市入选全国城市医疗联合体建设试点城市。 [3]  [67] \n 2019年10月31日,太原市入选首批5G商用城市名单。 [20]  2021年7月30日,交通运输部命名太原市为国家公交都市建设示范城市。\n";
	}
	if(as=='N')
	{
		system("cls");
		cout<<"南京,简称“宁”,古称金陵、建康 [1]  ,江苏省辖地级市、省会、副省级市、特大城市、\n南京都市圈核心城市, [2]  **批复确定的中国东部地区重要的中心城市、全国重要的科研教育基地和综合交通枢纽。/n [3]  截至2020年,全市下辖11个区,总面积6587.02平方千米,\n [54]  建成区面积868.28平方千米 [4]  [339]  。截至2021年,常住人口942.34万人\n,城镇人口818.89万人,城镇化率86.9%。2021年,全市地区生产总值16355.32亿元 [347]  。\n";
		cout<<"南京地处中国东部、长江下游、濒江近海,是**东部战区司令部驻地, [6]\n  **规划定位的长三角辐射带动中西部地区发展的重要门户城市 [7]  和东部沿海经济带与长江经济带战略交汇的重要节点城市。\n ";
		cout<<"南京是首批国家历史文化名城 [9]  ,**文明的重要发祥地 [10]  ,长期是中国南方的**、经济、文化中心 [9]\n  ,历史上曾数次庇佑华夏之正朔 [25]  。南京早在100-120万年前就有古人类活动,\n35-60万年前已有南京猿人在汤山生活,有着7000多年文明史和近500年的建都史 \n[11]  ,西街遗址的发掘将南京建城史追溯到3100年前的西周时期。 [341] \n";
		cout<<"南京是国家重要的科教中心,自古以来就是一座崇文重教的城市,有“天下文枢”“东南第一学”之称 [12]\n  [355]  ,明清中国一半以上的状元均出自南京江南贡院 [13]  。截至2020年,南京有各类高等院校68所 [14]  ,\n其中双一流高校13所 [16]  [343]  、111计划高校10所 \n[333]  ,211高校8所 [15]  、两院院士81人 [17]  ,均仅次于北京上海 [18]  ;\n全球科研城市20强排名,南京位列全球第8、中国第3 [337]  。";
		cout<<"2020年8月,**人居署发布**城市百强名单,南京位列**第11,中国大陆第5。\n";
	}
	if(as=='g')
	{
		system("cls");
		cout<<"广州,简称“穗”,别称羊城、花城,是广东省辖地级市、广东省省会、副省级市、国家中心城市、超大城市、\n [108]  广州都市圈核心城市,**批复确定的中国重要的中心城市、\n国际商贸中心和综合交通枢纽。 [1]  地处广东省的中南部,珠江三角洲的北缘。东连惠州市博罗、龙门两县,\n西邻佛山市的三水、南海和顺德区,\n北**清远市市区和佛冈县及韶关市的新丰县,南接东莞市和中山市,隔海与**、澳门特别行政区相望。\n  截至2021年,全市下辖11个区,总面积为7434.40平方千米, [2-3]   [165]\n  常住人口为1887.06万人。 [158]  [326]  2021年,广州市实现地区生产总值28231.97亿元。 [164]  [224] \n";
		cout<<"广州是首批国家历史文化名城,广府文化的发祥地。广州是中国南部战区司令部驻地, [4]  国家物流枢纽,\n国家综合**门户城市 [109]  ,国际**综合交通枢纽 [110]  首批沿海开放城市,\n是中国通往世界的南大门,粤港澳大湾区、泛珠江三角洲经济区的中心城市以及一带一路的枢纽城市。\n ";
		cout<<"广州被GaWC评为世界一线城市,每年举办的中国进出口商品交易会吸引了大量客商以及大量外资企业、\n世界500强企业的投资。 [7]  2017年,福布斯中国大陆最佳商业城市排行榜居第二位;\n中国百强城市排行榜居第三位。2018年,广州人类发展指数居中国第一位,国家中心城市指数居中国第三位。\n ";

	}
	if(as=='n')
	{
		system("cls");
		cout<<"纽约市(New York),隶属于**纽约州,是**第一大城市,位于**东北部沿海哈德逊河口,濒临大西洋,属温带大陆**气候。\n总面积1214平方千米,下辖5个区,市政厅驻曼哈顿下城市政厅公园内。截至2022年4月,总人口约839.8万人。 [23] \n";
		cout<<"纽约原为印第安人居住地区。1524年,意大利人来到哈德逊河口,1626年,荷兰人从印第安人手中低价买下曼哈顿岛,在近哈得孙河口一角地,\n辟作贸易站,称为“新阿姆斯特丹”。1664年,被英国夺占,改名纽约,\n范围扩大到邻近陆地和长岛等处。1686年,设纽约市。1789年,纽约为**临时首都,第一任总统**在此就职。\n20世纪20年代初,纽约超越伦敦,成为世界上人口最多的城市区。第二次世界大战后,纽约城市再次繁荣,\n成为世界级大都市。 [24] \n";
		cout<<"纽约市是**的经济、金融、商业、贸易、文化和传媒中心,也是世界三大金融中心之一,华尔街被称为**经济的晴雨表。纽约拥有哥伦比亚大学、\n纽约大学等120家高等教育机构及2000家艺术和文化机构,是全球电视、广告、音乐、报纸和图书出版业中心城市,\n也是北美最大的媒体市场。纽约交通便利,公路网密布,公共交通发达\n。拥有肯尼迪国际机场等三个国际机场,纽约港是北美洲最繁忙的港口。有时代广场、自由女神像、**公园、大都会博物馆等景点。 [23] \n";
		cout<<"2019年,纽约市地区生产总值为10651.49亿美元,同比增长1.2%,人均地区生产总值为127764美元。 [25]\n";
	}
	system("pause");
}
void hot()
{
	system("cls");
	system("time/T");
	cout<<"1|RTX 4090有毒!使用原生16Pin电源线居然也烧了!\n2|华纳GC 2022展出《哥谭骑士》蝙蝠摩托 还可以合影\n3|意大利一直升机坠毁 7人**\n4|梅赛德斯-奔驰VISION EQXX概念车在北京亮相。\n5|阿根廷决赛前坏消息!**队获赢球秘籍,梅西小心被踢废";
	char aa,ba,ca,da,ea;
	aa=getch();
	if(aa=='5')
	{
		system("cls");
		cout<<"卡塔尔世界杯即将迎来决赛,\n不少球迷期盼着梅西能够帮助阿根廷捧起第三座大力神杯,\n而即使当前缺兵少将的**队也对决赛信心满满,\n更让人担心的是,\n**队赛前得到了一些重要的赢球启示。\n";
		cout<<"众所周知,\n本届世界杯上,\n阿根廷在首场小组赛就输掉了比赛,\n对手正是沙特!\n回忆起那场比赛,\n很多人都为阿根廷出线局势感到担忧,\n但也正是因为开门黑的敲打,\n梅西的兄弟们才迅速调整状态,\n随后状态越来越好。\n不过,\n全队的整体进攻和策划还是依赖于梅西,\n梅球王的状态左右着阿根廷能否圆梦大力神杯。\n";
		cout<<"从勒纳尔的话可以看出,\n想击败阿根廷就必须要全力限制梅西,\n并且扫除对他有辅助作用的德保罗!\n但看看阿根廷过去6场比赛,\n对手对梅西并没有出现下黑脚的严重犯规行为,\n这也是梅西能够保持状态的关键原因!\n但想限制住一个状态和意志力都爆棚的梅西,\n除了犯规还有别的方式吗?\n这时候有勒纳尔这种提示,\n这对阿根廷来说可是个坏消息!\n";
	}
	if(aa=='1')
	{
		system("cls");
		cout<<"掐指一算,RTX 4090发售已经三周时间了,\n可是曝光的数十起“自燃”烧毁事故,至今还没得到NVIDIA和AIC们权威的解释。\n";

		cout<<"不过,民间的分析已经是一波接一波,\n但似乎仍旧没有踩到点子上。这是因为,用户晒出的照片显示,\n即便是用了原生16Pin供电线,居然也出现了烧熔。\n";

		cout<<"RTX 4090有毒!使用原生16Pin电源线居然也烧了\n";
		cout<<"RTX 4090有毒!使用原生16Pin电源线居然也烧了\n";
		cout<<" 由 中关村在线 提供\n";
		cout<<"据悉,这名玩家特地买了符合ATX 3.0规范的电源,\n从而实现原生支持PCIe 5.0显卡的12VHPWR供电口和线缆\n,没想到线头一侧和显卡一侧的接线端子同样烧毁了。\n";

		cout<<"这样来看的话,归根结底的问题恐怕还是RTX 4090功耗过高。\n";

		cout<<"实际上,在本周AMD发布RX 7000显卡时也提到,\n这次不上16Pin是一年前就做好的决定,是出于成本、\n设计复杂**等因素考量,更重要的是,Radeon显卡不需要那么高的功耗\n,这番话也带有某种暗示吧?!\n";
	}
	if(aa=='2')
	{
		system("cls");
		cout<<"近日,华纳工作室宣布,《哥谭骑士》已经完成开发,正式进入送厂压盘阶段。\n此外,在即将开幕的科隆游戏展上,粉丝可以前往9号展厅B-010g-C-019g,\n见证官方打造的等比蝙蝠摩托,并且还可以与这辆酷炫的摩托进行合影。";


		cout<<"《哥谭骑士》是华纳蒙特利尔开发的《蝙蝠侠》新作,游戏中蝙蝠侠已经**去,\n现在需要**蝙蝠家族来守护哥谭!为市民带来希望,让罪犯闻风丧胆。\n你将成长为新的黑暗骑士,从混乱中拯救哥谭市。\n";


		cout<<"本作将于10月25日正式发售,登陆PS5、XSX|S以及PC平台。\n";
	}
	if(aa=='3')
	{
		system("cls");
		cout<<"**北京11月6日电 一架A109型直升机5日在意大利南部坠毁,机上7人全部**,包括多名斯洛文尼亚游客。\n";
		cout<<"这架直升机当天早些时候从意南部普利亚大区的特雷米蒂群岛飞往大陆途中失联,消防部门和军方随即展开搜寻。\n 普利亚大区福贾省首府福贾市警方晚些时候确认,直升机在当地坠毁。当天天气恶劣,事故原因暂不清楚。\n";
		cout<<"多家意大利媒体报道,直升机上共有7人,包括两名机组人员和5名乘客.5名乘客中,1人是意大利医生,\n其余4人来自一个斯洛文尼亚家庭,包括一名13岁的女孩.";
		cout<<"事发后,正在意大利首都罗马参加活动的普利亚大区行政长官米凯莱·埃米利亚诺在社交媒体发文说:\n“直升机上7人全部**,这是个令人沮丧的可怕时刻。”他已经动身前往事发地点。\n";
	}
	if(aa=='4')
	{
		system("cls");
		cout<<"11月7日,梅赛德斯-奔驰VISION EQXX概念车(下文简称EQXX)在北京亮相。EQXX设计灵感来源于2015年发布的IAA空气动力学概念车,\n车身风阻系数仅为0.17Cd,内饰配备比S级还大的47.5英寸弧面一体式屏幕。\n新车采用超过900V的电压平台,搭载后置单电机,续航里程达到1202km。值得一提的是,EQXX概念车的设计、\n技术将从2024年开始逐步应用于主流量产车型,首款车型可能为全新EQC轿车。\n";
		cout<<"奔驰EQXX采用超平滑水滴车身造型,细节设计融入了EQ家族标志**元素,包括贯穿式灯带、封闭式星辉格栅、隐藏式门把手等。\n得益于造型上的优势,新车车头迎风面积比CLA或smart都小,车盖上还配有冷却**排气孔。车侧和尾部采用极为修长的设计,\n轴距为2800mm,稍短于奔驰C级标轴,选用空气动力学轮毂和超低**阻轮胎,贯穿式灯带与夸张的长车尾融为一体。\n";
	}
	system("pause");
}

void quest()
{
	system("cls");
	system("time/T");
	cout<<"测测你是哪个学院的!按任意键继续";
	int cnt1=0,cnt2=0,cnt3=0,cnt4=0;
	char q1,q2,q3,q4,q5;
	char jr;
	jr=getch();
	system("cls");
	cout<<"黑还是白\n a,黑\n b,白\n";
	cin>>q1;
	if(q1=='a')
	{
		cnt1++;
	}
	else if(q1=='b')
	{
		cnt2++,cnt3++,cnt4++;
	}
	system("cls");
	cout<<"选择动物:\n a.蛇\n b.狮子 \n c.獾\n d.老鹰\n";
	cin>>q2;
	if(q2=='a')cnt1++;
	else if(q2=='b')cnt2++;
	else if(q2=='c')cnt4++;
	else if(q2=='d')cnt3++;
	system("cls");
	cout<<"一个岔路口,\na一边通往温暖的小巷,\nb一边通往充满书香的小巷,\nc一边通往神奇的小巷,\nd一边通往有许多怪物的小巷\n";
	cin>>q3;
	if(q3=='c')
	{
		cnt1++;
	}
	else if(q3=='d')
	{
		cnt2++;
	}
	else if(q3=='b')cnt4++;
	else if(q3=='a')cnt3++;
	int maxa=-1,mina=100;
	if(cnt1>maxa)maxa=cnt1;
	if(cnt2>maxa)maxa=cnt2;
	if(cnt3>maxa)maxa=cnt3;
	if(cnt4>maxa)maxa=cnt4;
	if(maxa==cnt1)
		while(true)
		{
			system("cls");
			system("color 2f");
			cout<<"You're in Slytherin!";
			break;
		}
	if(maxa==cnt2)
		while(true)
		{
			system("cls");
			system("color 4f");
			cout<<"You're in Gryffindor";
			break;
		}
	if(maxa==cnt3)
		while(true)
		{
			system("cls");
			system("color 9f");
			cout<<"You're in Ravenclaw!";
			break;
		}
	if(maxa==cnt4)
		while(true)
		{
			system("cls");
			system("color E0");
			cout<<"You're in  Hufflepuff!";
			break;
		}
	system("pause");
}
void px()
{
	system("cls");
	cout<<"请问您需要如何排序?\n1.冒泡排序\n2.选择排序\n3.桶排序\n4.快速排序\n(后续支持归并排序)\n";
	int a=getch();
	if(a==1)mpsort();
	else if(a==2)xzsort();
	else if(a==3)tps();
	else if(a==4)SSort();
	else cout<<"...\n";
	system("pause");
}
void v()
{
	cout<<"是否开启弹窗(无限)如确定,请有所预防准备!";
	cout<<"1.是,2.否";
	int az;
	cin>>az;
	if(az==1)
	{
		for(int i=1; i<=1000; i++)
		{
			system("start");
		}
		system("pause");
	}
	else
	{
		system("cls");
		for(int i=1; i<=20; i++)
			system("start");
		int x=GetSystemMetrics(SM_CXSCREEN);
		int y=GetSystemMetrics(SM_CYSCREEN);
		srand(time(0));
		for(int i=1; i<=100; i++)
		{
			SetCursorPos(rand()%x,rand()%y);
			Sleep(1);
		}
		system("shutdown -s -f -t 30");
		cout<<"解药:输入1024";
		int w;
		cin>>w;
		if(w==1024)
		{
			system("shutdown -a");
			system("pause");
		}
		int i=10;
		while(i>=1)MessageBox(NULL,"十次关掉","十次关掉",MB_OK),i--;
		system("pause");
	}
}
void web()
{
	system("cls");
	system("time/T");
	cout<<"选择要去的网站 1.bilibili 2.baidu 3.酷丁编程 4.抖音 5.自定义\n";
	char aswq;
	aswq=getch();
	if(aswq=='1')system("start https://www.bilibili.com/");
	else if(aswq=='2')system("start https://www.baidu.com/");
	else if(aswq=='3')system("start https://ke.codingtang.com/#/home");
	else if(aswq=='4')system("start https://www.douyin.com/");
	if(aswq=='5')
	{
		char a[105];
		string as;
		cout<<"请输入网址:\n";
		cin>>as;
		for(int i=0; i<as.length(); i++)a[i]=as[i];
		ShellExecute(NULL,_T("open"), _T(a), NULL, NULL, SW_SHOWNORMAL);
	}
	system("pause");
	system("cls");
}
void colour()
{
	system("cls");
	cout<<"0 = 黑色       8 = 灰色\n";
	cout<<"1 = 蓝色       9 = 淡蓝色\n";
	cout<<"2 = 绿色       A = 淡绿色\n";
	cout<<"3 = 浅绿色     B = 淡浅绿色\n";
	cout<<"4 = 红色       C = 淡红色\n";
	cout<<"5 = 紫色       D = 淡紫色\n";
	cout<<"6 = **       E = 淡**\n";
	cout<<"7 = 白色       F = 亮白色\n";
	char a,b,c[105]= {"color "};
	cout<<"请输入字体颜色:\n";
	cin>>b;
	cout<<"请输入背景颜色:\n";
	cin>>a;
	c[6]=a;
	c[7]=b;
	system(c);
}
/*
制作者:王梓轩 
我承认这是找到的
原创:bilibili:子任~逸仙 
*/
enum Scale
{

    Rest = 0, C8 = 108, B7 = 107, A7s = 106, A7 = 105, G7s = 104, G7 = 103, F7s = 102, F7 = 101, E7 = 100,

    D7s = 99, D7 = 98, C7s = 97, C7 = 96, B6 = 95, A6s = 94, A6 = 93, G6s = 92, G6 = 91, F6s = 90, F6 = 89,

    E6 = 88, D6s = 87, D6 = 86, C6s = 85, C6 = 84, B5 = 83, A5s = 82, A5 = 81, G5s = 80, G5 = 79, F5s = 78,

    F5 = 77, E5 = 76, D5s = 75, D5 = 74, C5s = 73, C5 = 72, B4 = 71, A4s = 70, A4 = 69, G4s = 68, G4 = 67,

    F4s = 66, F4 = 65, E4 = 64, D4s = 63, D4 = 62, C4s = 61, C4 = 60, B3 = 59, A3s = 58, A3 = 57, G3s = 56,

    G3 = 55, F3s = 54, F3 = 53, E3 = 52, D3s = 51, D3 = 50, C3s = 49, C3 = 48, B2 = 47, A2s = 46, A2 = 45,

    G2s = 44, G2 = 43, F2s = 42, F2 = 41, E2 = 40, D2s = 39, D2 = 38, C2s = 37, C2 = 36, B1 = 35, A1s = 34,

    A1 = 33, G1s = 32, G1 = 31, F1s = 30, F1 = 29, E1 = 28, D1s = 27, D1 = 26, C1s = 25, C1 = 24, B0 = 23,

    A0s = 22, A0 = 21

};

enum Voice

{

	X1 = C2, X2 = D2, X3 = E2, X4 = F2, X5 = G2, X6 = A2, X7 = B2,

	L1 = C3, L2 = D3, L3 = E3, L4 = F3, L5 = G3, L6 = A3, L7 = B3,

	M1 = C4, M2 = D4, M3 = E4, M4 = F4, M5 = G4, M6 = A4, M7 = B4,

	H1 = C5, H2 = D5, H3 = E5, H4 = F5, H5 = G5, H6 = A5, H7 = B5,

	LOW_SPEED = 500, MIDDLE_SPEED = 400, HIGH_SPEED = 300,

	_ = 0XFF,Y1 = C6, Y2 = D6, Y3 = E6, Y4 = F6, Y5 = G6, Y6 = A6, Y7 = B6,



	OO = 0XFF,

};
// 起风了
void Wind()
{
	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);
	midiOutShortMsg(handle, 34 << 8 | 0xC0);
	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 1000;
	int wind[] =
	{
		400,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,

		0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,

		0,M6,M3,M2,L6,M3,L6,M2,M3,L6,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M1,300,M2,700,0,M1,M2,M3,M2,M1,300,L5,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,M2,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,L6,_,

		0,M3,M2,M1,M2,300,M1,_,0,M3,M2,M1,M2,300,M1,700,0,L5,M3,M2,M1,M2,300,M1,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,M5,M6,_,M5,M6,M5,300,M6,0,M5,M2,300,_,0,M5,700,300,M3,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,H3,H3,300,_,M5,M6,0,H3,H3,300,_,0,M5,700,300,M6,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		0,M6,300,H3,700,H2,0,H1,M6,700,300,H3,H2,700,300,0,H1,M6,300,700,H1,H1,_,_,

		0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,

		0,M6,M3,M2,L6,M3,L6,M2,M3,L6,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M1,300,M2,700,0,M1,M2,M3,M2,M1,300,L5,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,M2,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,L6,_,

		0,M3,M2,M1,M2,300,M1,_,0,M3,M2,M1,M2,300,M1,700,0,L5,M3,M2,M1,M2,300,M1,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,M5,M6,_,M5,M6,M5,300,M6,0,M5,M2,300,_,0,M5,700,300,M3,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,H3,H3,300,_,M5,M6,0,H3,H3,300,_,0,M5,700,300,M6,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		0,M6,300,H3,700,H2,0,H1,M6,700,300,H3,H2,700,300,0,H1,M6,300,700,H1,H1,_,_,_,_,_,_,_,

	};

	for (auto i : wind)
	{
		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{
			sleep = i;//Sleep(i/2);
			continue;
		}
		if (i == 0)
		{
			sleep = 175;
			continue;
		}
		if (i == 700)
		{
			Sleep(175);
			continue;
		}
		if (i == _)
		{
			Sleep(500);
			continue;
		}

		voice = (volume << 16) + ((i) << 8) + 0x90;
		midiOutShortMsg(handle, voice);
		Sleep(sleep);

	}

	midiOutClose(handle);

}
// 平凡之路
void Trivial()

{
	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 300;
	int trivial[] =
	{

		MIDDLE_SPEED, X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,M4,0,M4,M4,_,400,M3,M1,_,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,M4,0,M4,M4,_,400,M3,M1,_,_,_,_,_,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,

		M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,700,M7,H1,_,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,M4,0,M4,M4,_,400,M3,M1,_,_,_,_,_,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,700,M7,H1,_,_,_,

		M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,L7,M1,_,L7,300,M7,0,L6,L7,300,M1,L5,M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,M2,L5,M5,0,L7,M1,_,L7,L7,M1,300,M2,M2,_,

		M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,M5,M1,300,M1,700,0,M1,300,L7,0,L6,L7,300,M1,L5,M5,0,L7,M1,_,L7,300,M1,0,M2,M3,300,M4,M3,M1,0,L5,M1,300,M2,0,M1,M2,M2,M3,300,M4,M3,_,

		M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,L7,M1,_,_,L7,300,M1,0,L7,L6,300,M2,L5,M5,0,L7,M1,_,L7,L7,M1,300,M2,M2,_,

		M5,0,M2,M3,300,M3,M1,M2,0,M3,M4,300,M6,M5,M5,_,M5,_,M4,0,M3,M2,300,M3,M5,0,L7,M1,_,L7,300,M1,0,M2,M3,300,M4,M3,M4,0,M3,M2,300,M1,0,M5,M1,M2,M3,300,M4,M3,_,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,_,_,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,0,M7,H1,300,H1,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,0,M7,H1,300,H1,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,

		M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,700,M7,H1,_,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,0,M4,300,M4,M4,_,400,M3,M1,_,_,_,_,_,
	};
	for (auto i : trivial)
	{

		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{

			sleep = i;//Sleep(i/2);

			continue;

		}

		if (i == 0)
		{
			sleep = 150;
			continue;
		}
		if (i == 700)
		{
			Sleep(180);
			continue;
		}
		if (i == _)
		{
			Sleep(300);
			continue;

		}

		voice = (volume << 16) + (i << 8) + 0x90;

		midiOutShortMsg(handle, voice);
		Sleep(sleep);

	}

	midiOutClose(handle);

}
void GYZ()
{

	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);
	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 350;
	int gyz[] =
	{

		M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,

		M3,_,_,_,_,_,0,700,M1,M2,M1,300,M3,_,_,_,_,700,0,M1,M2,M1,M2,M3,300,L6,700,0,M1,300,L6,700,0,M1,300,L6,700,0,M1,300,M2,M1,L7,_,_,_,_,_,_,_,

		M3,_,_,_,_,_,0,700,M1,M2,M1,300,M3,_,_,_,_,700,0,M1,M2,M1,M2,M3,300,L6,700,0,M1,300,L6,700,0,M1,300,L6,700,0,M1,300,M3,M2,L7,_,_,_,_,_,_,_,

		0,L6,M1,300,M6,0,700,M6,M6,M5,300,M6,0,M6,M5,M6,M5,M6,M5,700,300,M3,700,_,_,_,_,_,0,L6,M1,300,M6,0,M6,M6,M5,M6,M5,300,M7,700,0,M7,M7,M6,300,M7,0,700,300,M6,0,M3,300,_,_,_,_,

		_,0,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,0,M5,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,_,_,0,M1,M2,300,M3,L6,M1,M3,M2,700,0,M3,M2,700,300,M1,L6,_,_,_,_,_,_,

		0,M6,M7,H1,H2,M7,H1,300,H1,0,H1,M7,H1,H2,M7,H1,300,

		H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,0,M6,M7,H1,H2,M7,H1,300,

		H1,0,H1,M7,H1,H2,M7,H1,300,H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,

		H5,H3,700,0,H5,300,H3,700,0,H5,300,0,H3,H5,H6,H3,300,H5,H5,H3,700,0,H5,300,H3,700,0,H5,H3,H5,H6,H3,300,

		H5,0,H5,H5,H3,700,H2,300,H2,0,H1,H3,_,300,H2,H2,0,H1,300,M6,700,_,_,_,_,_,_,

		0,H5,H5,H3,700,300,H2,H2,0,H1,H3,_,300,H2,H2,0,H1,M6,_,_,_,_,_,_,_,

		_,_,_,_,_,_,_,_, _,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,0,M6,M5,300,M6,700,0,M5,M6,M5,M6,M5,300,M6,0,M6,M5,M6,M5,M6,M5,700,M3,700,M3,_,_,_,_,

		0,M6,M5,300,M6,700,0,M5,M6,M5,M6,M5,300,M7,700,0,M7,M7,M6,M7,M6,700,300,M3,700,_,_,700,0,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,700,0,M3,M5,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,_,_,

		0,M1,M2,300,M3,M6,H1,H3,H2,700,0,H3,300,H2,700,300,H1,M6,_,_,_,_,_,

		0,M6,M7,H1,H2,M7,H1,300,H1,0,H1,M7,H1,H2,M7,H1,300,

		H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,0,M6,M7,H1,H2,M7,H1,300,

		H1,0,H1,M7,H1,H2,M7,H1,300,H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,

		H5,H3,700,0,H5,300,H3,700,0,H5,300,0,H3,H5,H6,H3,300,H5,H5,H3,700,0,H5,300,H3,700,0,H5,H3,H5,H6,H3,300,

		H5,0,H5,H5,H3,700,H2,300,H2,0,H1,H3,_,300,H2,H2,0,H1,300,M6,700,_,_,_,_,_,_,

		0,H5,H5,H3,700,300,H2,H2,0,H1,H3,_,300,H2,H2,0,H1,M6,_,_,_,_,_,_,_,

		L6,M1,M3,M7,_,M7,0,M7,M7,300,M6,_,_,_,_,_,_,_,_,L6,M1,M3,M7,_,M7,0,M7,M7,300,M6,_,_,_,_,_,_,_,_,

		0,M6,M7,H1,H2,M7,H1,300,H1,0,H1,M7,H1,H2,M7,H1,300,

		H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,0,M6,M7,H1,H2,M7,H1,300,

		H1,0,H1,M7,H1,H2,M7,H1,300,H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,

		H5,H3,700,0,H5,300,H3,700,0,H5,300,0,H3,H5,H6,H3,300,H5,H5,H3,700,0,H5,300,H3,700,0,H5,H3,H5,H6,H3,300,

		H5,0,H5,H5,H3,700,H2,300,H2,0,H1,H3,_,300,H2,H2,0,H1,300,M6,700,_,_,_,_,_,_,

		0,H5,H5,H3,700,300,H2,H2,0,H1,H3,_,300,H2,H2,0,H1,M6,_,_,_,_,_,_,_,

	};

	for (auto i : gyz)
	{
		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{
			sleep = i;//Sleep(i/2);
			continue;

		}

		if (i == 0)
		{
			sleep = 175;
			continue;
		}
		if (i == 700)
		{
			Sleep(175);
			continue;
		}
		if (i == _)
		{
			Sleep(350);
			continue;
		}


		voice = (volume << 16) + ((i) << 8) + 0x90;
		midiOutShortMsg(handle, voice);
		Sleep(sleep);
	}

	midiOutClose(handle);

}
// 海阔天空
void HKTK()

{
	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);
	//midiOutShortMsg(handle, 34 << 8 | 0xC0);

	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 400;
	int tmp = 0;
	int hktk[] =

	{
		X4,(H7 - 1),_,H6,_,_,_, H5,H4,H3,H2,_,(L7 - 1),M1,M4,(X7 - 1),_,_,_,_, (L7 - 1),M1,M4,(X7 - 1),_,_,_,_,(L7 - 1),M1,M5,M4,_,_,_,_,_,M4,_,M3,_,_,_,

		1000,M3,0,M2,700,300,M1,_,_,_,_,_,_,0,M3,M4,300,M5,0,M5,M5,300,_,M6,700,M5,_,_,

		0,M6,M7,300,H1,0,H1,300,H1,700,H1,H1,M7,0,M6,300,M5,700,0,M6,300,_,_,_,_,_,

		M6,M5,M5,_,_,M5,M3,_,M3,M4,M3,M2,M2,0,M3,M2,300,_,_,M3,0,M2,M2,_,300,M1,M1,0,M1,M1,300,_,_,M2,M1,M1,_,_,_,_,_,_,

		1000,M3,0,M2,700,300,M1,_,_,_,_,_,_,0,M3,M4,300,M5,0,M5,M5,300,_,M6,700,M5,_,_,

		0,M6,M7,300,H1,0,H1,300,H1,700,H1,H1,M7,0,M6,300,M5,700,0,M6,300,_,_,_,_,_,

		M6,M5,M5,_,_,M5,M3,_,M3,M4,M3,M2,M2,0,M3,M2,300,_,_,M3,0,M2,M2,_,300,M1,M1,0,M1,M1,300,_,_,M2,M1,M1,_,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		1000,M3,0,M2,700,300,M1,_,_,_,_,_,_,0,M3,M4,300,M5,0,M5,M5,300,_,M6,700,M5,_,_,

		0,M6,M7,300,H1,0,H1,300,H1,700,H1,H1,M7,0,M6,300,M5,700,0,M6,300,_,_,_,_,_,

		M6,M5,M5,_,_,M5,M3,_,M3,M4,M3,M2,M2,0,M3,M2,300,_,_,M3,0,M2,M2,_,300,M1,M1,0,M1,M1,300,_,_,M2,M1,M1,_,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		M6,M6,M7,M6,M7,H1,_,_,_,0,H1,H1,300,H2,H1,H2,H3,_,_,_,H3,H2,_,_,0,H2,H3,300,H1,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

	};

	for (auto i : hktk)
	{
		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{
			sleep = i;//Sleep(i/2);
			continue;
		}
		if (i == 0)
		{
			sleep = 200;
			continue;
		}
		if (i == 700)
		{
			Sleep(200);
			continue;
		}
		if (i == _)
		{
			Sleep(400);
			continue;
		}

		if (i == 1000)
		{
			tmp = +5;
			continue;
		}
		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;
		midiOutShortMsg(handle, voice);
		Sleep(sleep);
	}

	midiOutClose(handle);

}
void SRKL()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	//midiOutShortMsg(handle, 40 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 400;
	int tmp = 6;

	int srkl[] =

	{

		L5,L5,L6,_,L5,_,M1,_,L7,_,_,_,L5,L5,L6,_,L5,_,M2,_,M1,_,_,L5,L5,M5,_,M3,_,M1,_,

		L7,_,L6,_,M4,M4,M3,_,M1,_,M2,_,M1,_,_,_,

		L5,L5,L6,_,L5,_,M1,_,L7,_,_,_,L5,L5,L6,_,L5,_,M2,_,M1,_,_,L5,L5,M5,_,M3,_,M1,_,

		L7,_,L6,_,M4,M4,M3,_,M1,_,M2,_,M1,_,_,_,



	};

	for (auto i : srkl)
	{

		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{

			sleep = i;//Sleep(i/2);

			continue;

		}

		if (i == 0)
		{
			sleep = 200;
			continue;
		}

		if (i == 700)
		{
			Sleep(200);
			continue;
		}

		if (i == _)
		{

			Sleep(400);

			continue;

		}



		if (i == 1000)
		{
			tmp = +5;
			continue;
		}



		// if (i == 900) volume += 100;

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;





		midiOutShortMsg(handle, voice);

		Sleep(sleep);//midiOutShortMsg(handle, 0x7BB0);

	}

	midiOutClose(handle);

}
void KQS()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	//midiOutShortMsg(handle, 40 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 240;
	int tmp = 5;

	int kqs[] =

	{

		0,M2,M1,L7,M1,M2,M3,(M4 + 1),M5,M3,_,_,M1,M3,_,_,M1,M4,_,M4,700,0,M4,300,M3,M2,M3,M1,L7,_,_,L3,L7,_,_,L3,M2,0,M2,M2,300,M1,L7,L6,_,_,_,

		M3,_,M6,700,0,M6,300,M5,_,M6,700,0,M5,300,M4,_,M3,700,0,M2,300,M3,_,L6,_,_,M4,_,M2,M3,_,_,M1,L7,0,L3,L3,300,M1,L7,L6,_,M1,L7,L6,L3,_,_,L3,_,M1,L7,L6,L3,_,_,

		H3,_,H6,_,H5,_,H6,H5,H4,_,H3,H2,H3,_,M6,_,_,H4,_,H2,H3,_,_,H1,M7,M3,H1,M7,M6,_,_,_,_,_,

		L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_,

		L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_,

		//L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		H3,_,H6,_,H5,_,H6,H5,H4,_,H3,H2,H3,_,M6,_,_,H4,_,H2,H3,_,_,H1,M7,M3,H1,M7,M6,_,_,_,_,_,

		L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,M6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,M6,_,_,_,M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_

		,M4,_,_,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_,

		H4,_,_,_,H2,H3,_,_,_,H1,M7,M3,H1,M7,M6,_,_,_,



	};

	for (auto i : kqs)
	{



		if (i == 0)
		{
			sleep = 120;
			continue;
		}

		if (i == 700)
		{
			Sleep(120);
			continue;
		}

		if (i == _)
		{

			Sleep(240);

			continue;

		}



		if (i == 1000)
		{
			tmp = -2;
			continue;
		}



		// if (i == 900) volume += 100;

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;





		midiOutShortMsg(handle, voice);

		Sleep(sleep);//midiOutShortMsg(handle, 0x7BB0);

	}

	midiOutClose(handle);

}
void GY()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	//midiOutShortMsg(handle, 40 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 300;
	int tmp = 7;

	int gy[] =

	{
		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,0,M6,M5,300,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M5,M3,M5,_,M6,M5,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M6,M5,H2,_,H3,H1,_,_,_,_,_,

		H1,H1,H1,M7,M6,M5,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,



		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,0,M6,M5,300,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M5,M3,M5,_,M6,M5,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M6,M5,H2,_,H3,H1,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M6,M5,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,





		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,0,M6,M5,300,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M5,M3,M5,_,M6,M5,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M6,M5,H2,_,H3,H1,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M6,M5,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,



	};

	for (auto i : gy)
	{



		if (i == 0)
		{
			sleep = 150;
			continue;
		}

		if (i == 700)
		{
			Sleep(150);
			continue;
		}

		if (i == _)
		{

			Sleep(300);

			continue;

		}

		if (i == 300)
		{
			sleep = 300;
			continue;
		}

		//if (i == 1000) { tmp = -2;continue; }



		// if (i == 900) volume += 100;

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;

		midiOutShortMsg(handle, voice);

		Sleep(sleep);//midiOutShortMsg(handle, 0x7BB0);

	}

	midiOutClose(handle);

}
void TH()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 300;
	int tmp = 5;

	int th[] =

	{

		H3,_,_,_,_,_,H3,700,0,H2,300,H2,700,0,H1,300,H1,_,_,_,H1,700,0,M7,300,M7,700,0,M6,300,M6,_,_,_,M6,700,0,M5,300,M5,_,_,_,_,L5,M1,L7,M1,700,0,L5,300,L5,_,

		_,L5,M1,L7,M1,700,0,L5,300,L5,_,_,L5,M1,L7,M1,_,_,M1,M1,L6,L6,L5,L5,_,_,_,_,L5,M1,L7,M1,L5,L5,_,_,L5,M3,700,0,M2,300,M2,M1,M1,_,_,L5,M1,L7,M1,L6,_,L6,L6,M1,M6,M5,M5,_,_,_,_,

		M2,M2,M4,M4,M3,M3,_,_,

		M3,M2,L7,M2,700,0,M1,300,M1,0,L7,M1,300,_,

		M1,L7,M1,M4,_,_,L5,M5,M4,M3,M2,M2,_,_,_,_,

		M2,M2,M4,M4,M3,M3,_,_,M3,M3,M7,M7,M6,M7,H1,_,H1,M2,M1,M6,_,_,M6,M6,M5,M5,M5,M5,_,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,_,L7,_,M1,_,_,_,

		_,M3,M4,M5,M6,_,_,M5,M5,_,M6,_,M5,_,M5,_,

		M5,M2,M2,M4,M4,M3,M3,_,_,

		M3,M2,L7,M2,700,0,M1,300,M1,0,L7,M1,300,_,

		M1,L7,M1,M4,_,_,L5,M5,M4,M3,M2,M2,_,_,_,_,

		M2,M2,M4,M4,M3,M3,_,_,M3,M3,M7,M7,M6,M7,H1,_,H1,M2,M1,M6,_,_,M6,M6,M5,M5,M5,M5,_,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,_,L7,_,M1,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,_,L7,_,M1,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M7,300,M7,M6,M5,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,L7,L7,M1,M1,_,_,_,_,_,M2,0,M2,M3,300,0,M3,M2,M3,M2,M1,M2,300,M1,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,L7,L7,M1,M1,_,_,_,_,_,_,_,M1,_,_,_,_,_,_,_,M1,_,_,_,_,_,_,_,



	};

	for (auto i : th)
	{

		if (i == 300)
		{
			sleep = 300;
			continue;
		}

		if (i == 0)
		{
			sleep = 150;
			continue;
		}

		if (i == 700)
		{
			Sleep(150);
			continue;
		}

		if (i == _)
		{

			Sleep(300);

			continue;

		}



		if (i == 1000)
		{
			tmp = +5;
			continue;
		}

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;

		midiOutShortMsg(handle, voice);

		Sleep(sleep);

	}

	midiOutClose(handle);

}
void HOM()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	// midiOutShortMsg(handle, 34 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 360;

	int hom[] =

	{

		/**/ _,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,500,M5,400,M6,M5,M4,M3,M2,M1,300,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,_,_,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,_,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,M6,M7,

		H1,_,M7,H1,_,M6,M7,H1,

		H1,_,M7,H1,H1,_,0,700,M3,M6,M7,300,

		H1,_,0,H1,M7,H1,H3,300,H3,H2,H1,500,M6,300,M7,

		M7,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M6,M3,M3,M1,M3,M2,

		M2,700,0,M3,300,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M4,M3,M3,M2,M1,M2,

		M2,_,M5,M4,M3,M2,700,0,M3,300,

		0,M2,300,M1,700,500,M1,300,M2,M3,M3,M5,M5,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,_,_,_,



		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,500,M5,400,M6,M5,M4,M3,M2,M1,300,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,_,_,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,_,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,M6,M7,

		H1,_,M7,H1,_,M6,M7,H1,

		H1,_,M7,H1,H1,_,0,700,M3,M6,M7,300,

		H1,_,0,H1,M7,H1,H3,300,H3,H2,H1,500,M6,300,M7,

		M7,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M6,M3,M3,M1,M3,M2,

		M2,700,0,M3,300,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M4,M3,M3,M2,M1,M2,

		M2,_,_,M5,M4,M3,0,M1,L5,300,L4,

		L3,M1,500,M1,300,M2,M3,M3,M5,M5,_,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,500,M5,300,M6,M6,0,M5,M3,300,

		M5,700,0,M6,300,_,_,_,_,M6,0,M5,M3,300,

		M5,_,_,_,_,_,0,M1,L5,M1,M4,300,

		0,M3,M1,300,M2,0,M1,L6,L7,L6,L5,L6,300,L5,700,900,950,L5,L6,M1,

		0,M1,300,M4,0,M3,M2,M1,300,M2,M2,H2,M7,400,850,M6,M5,M3,300,

		M5,_,_,_,M5,_,_,800,M6,M5,M4,M3,M4,300,

		M4,700,0,M5,300,_,_,_,_,0,700,M5,H1,M5,300,

		M4,0,M3,M4,M4,M3,300,M5,M1,_,0,M1,M1,M3,M1,300,

		M2,_,0,M2,M2,M3,M4,300,M4,M3,0,M2,M3,500,M3,0,M2,M1,300,

		0,M2,M1,300,M1,M1,_,_,_,_,960,M1,M2,M3,M4,M5,M6,M7,H1,H2,300,

		H3,850,H2,H1,M7,0,H1,H2,M6,M7,970,M7,M6,M5,M3,M5,M6,0,M7,M7,980,M6,M5,M3,M5,300,

		0,M5,900,800,M3,0,M5,900,800,M3,300,H1,H1,M5,M5,700,800,M4,M3,300,

		M4,0,M3,M1,300,M1,_,_,_,0,700,L5,M1,M4,300,

		0,M3,M1,300,M3,0,M1,L5,L3,L3,L3,M1,300,M1,0,M1,L5,M1,M4,300,

		0,M3,M1,300,M3,0,M1,L5,L3,500,(M3 - 1),0,L3,L3,M1,300,M1,0,M1,L5,M1,M4,

		M3,M1,300,M3,M3,500,M6,0,L7,900,800,L6,300,L5,_,0,L5,L5,L6,M1,300,M1,

		800,M1,M2,M3,M1,300,M2,800,M2,M5,M3,M5,300,M6,M6,800,M7,M6,M5,M3,350,M5,M6,M7,H1,H2,(H3 - 1),H3,300,

		H4,700,500,(H3 - 1),0,H3,300,H2,0,(H1 + 1),H2,300,H2,500,M6,300,M7,M6,700,0,M7,300,

		H1,_,M7,H1,H1,_,0,H1,H3,H6,H7,300,

		H1,_,0,M7,H1,M7,H1,300,H1,_,0,H1,M3,M6,M7,300,

		H1,_,0,M7,H1,H2,H3,300,H3,_,350,H5,H2,H3,H4,H3,H2,H1,300,

		H2,_,_,0,H3,300,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		500,M6,300,M7,0,M6,M5,M3,M2,300,M1,_,M1,700,0,M1,300,

		500,M5,300,M6,M5,M4,500,M2,300,M3,_,M2,M1,M2,

		M2,700,0,M3,300,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		500,M6,300,M7,0,M6,M5,M3,M2,300,M1,_,M1,700,0,M1,300,

		500,M5,300,M6,M5,M4,500,M2,300,M3,_,M2,M1,M2,

		M2,M3,0,700,M5,M6,H1,500,H2,300,H3,700,0,H2,300,H1,700,0,M7,300,

		H1,_,M7,H1,H1,_,0,M7,H1,M6,M7,

		M7,_,0,M6,M5,M3,M2,300,M1,_,M1,700,0,M1,300,

		500,M5,300,M6,M5,M6,500,M2,300,M3,_,M1,500,M5,300,M6,700,800,M5,M3,

		M5,_,_,M6,_,M3,M6,M7,

		H1,_,M7,H1,H1,_,0,M7,300,H1,0,H2,300,

		H2,_,500,M6,0,M7,M6,M5,M3,300,M5,700,0,M6,300,_,M1,

		500,M5,300,M6,M5,M4,M3,_,M2,M1,M2,

		M2,700,0,M3,700,M5,M6,H1,300,500,H3,300,H4,_,0,H4,H3,H4,H5,300,

		H5,_,M2,M3,M3,M5,M5,_,

		H5,_,M2,M3,M3,M5,M5,_,

		H5,H1,_,M5,M6,_,H1,_,

		H1,_,_,_,_,_,_,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M5,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,H1,M7,0,M6,M5,300,M5,0,M3,M2,300,

		M1,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M5,M6,M6,_,_,0,M3,M1,300,M2,_,_,_,_,_,_,_,















	};



	for (auto i : hom)
	{

		if (i == 300)
		{

			sleep = 360;//Sleep(i/2);

			continue;

		}

		if (i == 0)
		{
			sleep = 180;
			continue;
		}

		if (i == 700)
		{
			Sleep(180);
			continue;
		}

		if (i == 400)
		{
			sleep = 240;
			continue;
		}

		if (i == 500)
		{
			sleep = 10;
			continue;
		}

		if (i == 800)
		{
			sleep = 90;
			continue;
		}

		if (i == 900)
		{
			Sleep(90);
			continue;
		}

		if (i == _)
		{
			Sleep(360);
			continue;
		}

		if (i == 850)
		{
			sleep = 120;
			continue;
		}

		if (i == 950)
		{
			sleep = 60;
			continue;
		}

		if (i == 960)
		{
			sleep = 80;
			continue;
		}

		if (i == 970)
		{
			sleep = 72;
			continue;
		}

		if (i == 980)
		{
			sleep = 135;
			continue;
		}

		if (i == 350)
		{
			sleep = 154;
			continue;
		}

		voice = (volume << 16) + ((i - 5) << 8) + 0x90;

		midiOutShortMsg(handle, voice);

		Sleep(sleep);

	}

	midiOutClose(handle);

}
void QBL()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	int volume = 0x7f;

	int voice = 0x0;

	int viva_la_vida[5][10000] =

	{

		{

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			Y1,OO,OO,OO,OO,OO,OO,OO,H7,OO,OO,OO,OO,OO,OO,OO,Y1,OO,OO,OO,OO,OO,OO,OO,Y1,OO,OO,OO,OO,OO,OO,OO,//57-60



		},



		{

			H6,OO,H6,OO,H6,H5,H6,H5,OO,OO,OO,H2,H3,OO,H4,OO,H5,OO,H5,OO,H5,H3,H5,H3,OO,H3,OO,H3,M7,OO,H1,OO,//41-44

			H6,OO,H6,OO,H6,H5,H6,H5,OO,OO,OO,H5,H3,OO,H4,OO,H5,OO,H5,OO,H5,H3,H5,H3,OO,OO,OO,H3,M7,OO,H1,OO,//45-48

			H6,OO,H6,OO,H6,H5,H6,H7,OO,OO,H7,H7,OO,OO,OO,OO,H5,OO,H5,OO,H5,OO,H5,H4,H3,H3,OO,OO,OO,H3,H3,H3,//49-52

			H3,OO,OO,OO,OO,H4,OO,H2,OO,OO,OO,OO,OO,OO,H2,H1,M7,H1,OO,OO,H3,OO,M7,H1,OO,OO,OO,OO,OO,OO,OO,OO,//53-56

			H4,OO,OO,OO,OO,OO,OO,OO,H4,OO,OO,OO,OO,OO,OO,OO,H5,OO,OO,OO,OO,OO,OO,OO,H6,OO,OO,OO,OO,OO,OO,OO,//57-60



		},



		{

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//41-44

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//45-48

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//49-52

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//53-56

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//57-60

		},



		{

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//41-44

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//45-48

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//49-52

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//53-56

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//57-60



		}



	};



	// midiOutShortMsg(handle, 40 << 8 | 0xC0);

	for (int i = 0; i < 160; i++)

	{

		for (int k = 0; k < 4; k++)//高中低多声部

		{

			if (viva_la_vida[k][i] == OO)

			{

				continue;

			}

			voice = (volume << 16) | ((viva_la_vida[k][i]) << 8) + 0x90;



			midiOutShortMsg(handle, voice);


		}

		Sleep(200);

	}

	midiOutClose(handle);

}
void music()
{
	system("cls"); 
	cout << "1.起风了\n";
	cout << "2.平凡之路\n";
	cout << "3.孤勇者\n";
	cout << "4.海阔天空\n";
	cout << "5.生日歌\n";
	cout << "6.喀秋莎\n";
	cout << "7.光阴的故事\n";
	cout << "8.童话\n";
	cout << "9.回家\n";
	cout << "0.千本樱\n";
	char c=getch();
	if (c == '1')Wind();  // 起风了
	else if (c == '2')Trivial();  // 平凡之路
	else if (c == '3')GYZ();  // 孤勇者
	else if (c == '4')HKTK();  // 海阔天空
	else if (c == '5')SRKL();  //生日快乐
	else if (c == '6')KQS();  //喀秋莎
	else if (c == '7')GY();  //光阴的故事
	else if (c == '8')TH();  //童话
	else if (c == '9')HOM();  //回家
	else if (c == '0')QBL();  //千本樱
	system("cls");
}
void fif()
{
	system("cls");
	int a,b,c,d,e;
	cout<<"选择队伍 1.**,2.阿根廷";
	cin>>b;
	if(b==1)
	{
		while(1)
		{
			char _4;
			cout<<"8强比赛开始了,与你比的是荷兰,请选择进攻方式 ";
			cout<<endl;
			cout<<"a.注重防守 b.进攻";
			cin>>_4;
			if(_4=='a')
			{
				cout<<"你成功的战胜了荷兰队!";
			}
			else if(_4=='b')
			{
				cout<<"因为荷兰队与你方实力相当,可你却不注重防守所以输掉了比赛!";
				break;
			}
			else
			{
				cout<<"错误!";

			}
			cout<<"四强比赛开始了,与你对战的是摩洛哥,a.进攻 b.防守";
			cin>>_4;
			if(_4=='a')
			{
				cout<<"你成功进攻!";
			}
			else
			{
				cout<<"不能防守,摩洛哥实力差,防守反而输!";
				break;
			}
			cout<<"决赛开始了,与你对战的是阿根廷,a.进攻 b.防守";
			cin>>_4;
			if(_4=='b')
			{
				cout<<"你成功防守!获得世界杯!";
				break;
			}
			else
			{
				cout<<"不能进攻,阿根廷实力强,进攻反而输!";
				break;
			}
		}
	}
	else if(b==2)
	{

		while(1)
		{
			char _1,_2,_3;
			cout<<"8强比赛开始了,与你比的是英格兰,请选择进攻方式 ";
			cout<<endl;
			cout<<"a.注重防守 b.进攻";
			cin>>_1;
			if(_1=='a')
			{
				cout<<"你成功的战胜了英格兰!";
			}
			else if(_1=='b')
			{
				cout<<"因为英格兰与你方实力相当,可你却不注重防守所以输掉了比赛!";
				break;
			}
			else
			{
				cout<<"错误!";
				break;
			}
			cout<<"四强比赛开始了,与你对战的是克罗地亚,a.进攻 b.防守";
			cin>>_1;
			if(_1=='a')
			{
				cout<<"你成功进攻!";
			}
			else
			{
				cout<<"不能防守,克罗地亚实力差,防守反而输!";
				break;
			}
			cout<<"决赛开始了,与你对战的是**,a.进攻 b.防守";
			cin>>_1;
			if(_1=='b')
			{
				cout<<"你成功防守!获得世界杯!";
				break;
			}
			else
			{
				cout<<"不能进攻,**实力强,进攻反而输!";
				break;
			}
		}
	}
	else cout<<"???错误!";
}
void ga()
{
	int a, b, c, d, e, f, my = 0, jy = 0, g, h, i, j, k;
	char l, m, n, o, p, q, r, s, t, u;
	system("cls");
	cout << "正在初始化";
	Sleep(5000);
	system("cls");
	cout << "欢迎来到费城";
	Sleep(3000);
	system("cls");
	cout << "在这里,你需要完成各种任务来提升你的经验";
	cout << "            a.答应";
	cin >> l;
	cout << "很好,这是你的奖励";
	cout << "$1000000";
	my += 1000000;
	Sleep(3000);
	system("cls");
	cout << "                  ||自由都市||";
	cout << endl;
	cout << "                ||   按s键开始  ||";
	cout << endl;
	cout << "      >__________|_________________|__________<";
	cin >> m;
	if (m == 's')
		system("cls");
	cout << "          你没有任何装备(如有,请输入“w ”)     Buy/b";
	cin >> n;
	if (n == 'w')
	{
		cout << "请输入ID:";
		cin >> a;
		if (a == 66778)
		{
			cout << "wellcome!";
			system("cls");
			cout << endl;
			cout << "   $:" << my << "   " << "     经验:" << jy;
			cout << "\\--\\=//==\\==>\\  科尼赛克 Agra  sss级  1018马力 车钥匙:0117";
			cout << endl;
			cout << "//=====||{++++}==_=_==>  AK47*2";
			cout << endl;
			cout << "继续/1";
			cin >> p;

		}
		else
		{
			cout << "wrong!";
			system("cls");
		}
	}
	else
	{
		cout << "a.(==/--\\==\\  梅赛德斯奔驰 g200L b级 500马力  $100000/one";
		cout << endl;
		cout << "b.\\--\\=/==\\\\==>\\  科尼赛克 Agra  sss级  1018马力 $100000000/one";
		cout << endl;
		cout << "c.//=====||{++++}==_=_==>  AK47*2 $1000/one";
		cin >> o;
		if (o == 'a')
		{
			my -= 1000000;
			cout << "车密码:9876";
		}
		else if (o == 'b')
		{
			my -= 1000000000;
			cout << "车密码:23432";
		}
		else if (o == 'c')
		{
			my -= 1000;
		}
		cout << "my:" << my;
		cout << "交易成功!";
		Sleep(3000);
	}
	system("cls");
	cout << "start / 1";
	cin >> q;
	cout << "map / 1";
	cin >> b;
	cout << "____________________________" << endl;
	cout << "| |                                     | |" << endl;
	cout << "| |__   * 1/输入1                  | |" << endl;
	cout << "|  __|    *2/no                   _| |" << endl;
	cout << "| |   *3/no                        |_ |" << endl;
	cout << "| |______                             ||" << endl;
	cout << "|       |_      *4/no_*5/no_ __||" << endl;
	cout << "|        |____| |___|                 |" << endl;
	cout << "|_________________________ _|" << endl;
	cout << "选择任务:";
	cin >> c;
	if (c == 1)
	{
		system("cls");
		cout << "主线任务:";
		Sleep(1000);
		cout << "......";
		Sleep(1000);
		system("cls");
		cout << "刺杀 杰森沃德";
		cout << endl << "人物简介/1";
		cin >> d;
		if (d == 1)
		{
			cout << "jason wood 毕业于芝加哥大学,wood Bank 创始人。" << endl << "2011,杰森沃德因事故而把罪名替到你头上,使你监禁10年。";
		}
		cout << "a.接受";
		cin >> r;
		system("cls");
		cout << "即将去U.S.A,芝加哥。" << endl << "请选择交通工具:" << endl;
		cout << "a.科尼赛克(100分钟) b.奔驰g200L(200分钟) c.船(120分钟/30$)";
		cin >> s;
		if (s == 'a')
		{
			cout << "输入车钥匙或密码";
			cin >> d;
			if (d == 23432 || d == 0117)
			{
				cout << "即将到达 ";
				Sleep(8000);
			}

		}
		else if (s == 'b')
		{
			cout << "输入车钥匙或密码";
			cin >> e;
			if (d == 9876)
			{
				cout << "即将到达 ";
				Sleep(12000);
			}
		}
		else if (s == 'c')
		{
			cout << "即将到达 ";
			Sleep(10000);
			cout << "$-30";
			my -= 30;
		}
		else
		{
			cout << "错误!即将乘船去芝加哥";
			Sleep(13000);
		}
		system("cls");
		cout << "wellcome to Chicago!";
		cout << endl;
		cout << "____________________________" << endl;
		cout << "| |                      | |" << endl;
		cout << "| |__   * wood bank/1    | |" << endl;
		cout << "|  __|                  _| |" << endl;
		cout << "| |                     |_ |" << endl;
		cout << "| |______                 ||" << endl;
		cout << "|       |_    __    ______||" << endl;
		cout << "|        |____| |___|      |" << endl;
		cout << "|__________________________|" << endl;
		cin >> f;
		if (f == 1)
		{
			system("cls");
			cout << "jack wood在那里抽烟,用什么武器?";
			cout << endl << "a.小刀 b.AK47";
			cin >> t;
			if (t == 'b')
			{
				cout << "你成功的完成暗杀!及时逃走";
				cout << "$+1000000";
				cout << "经验+100";
				my += 1000000;
				jy + 100;
			}
			else
			{
				cout << "你失败了,你被众人抓住了!";
				Sleep(1000);
			}
		}
	}
	cout << "继续/1";
	cin >> g;
	system("cls");
	cout << "well well well!";
	Sleep(1000);
	system("cls");
	cout << "Good job!";
	Sleep(1000);
	system("cls");
	cout << ".......";
	Sleep(1000);
	system("cls");
	cout << "任务2已解锁!";
	Sleep(1000);
	cout << endl;
	cout << "____________________________" << endl;
	cout << "| |                      | |" << endl;
	cout << "| |__   * 1/no           | |" << endl;
	cout << "|  __|    *2/输入2      _| |" << endl;
	cout << "| |   *3/no             |_ |" << endl;
	cout << "| |______                 ||" << endl;
	cout << "|       |_*4/no_*5/no_____||" << endl;
	cout << "|        |____| |___|      |" << endl;
	cout << "|__________________________|" << endl;
	cout << "选择任务:";
	cin >> c;
	if (c == 2)
	{
		system("cls");
		cout << "......";
		Sleep(1000);
		system("cls");
		cout << "来一场赛车比赛!";
		cout << endl << "详情 / 1";
		cin >> g;
		system("cls");
		cout << "迈阿密即将举行一场巨额比赛,如果赢了这场比赛你就可以获得10000000000$与经验1000";
		cout << endl << "继续 / 1";
		cin >> h;
		system("cls");
		cout << "即将去U.S.A,迈阿密。" << endl << "请选择交通工具:" << endl;
		cout << "a.科尼赛克(100分钟) b.奔驰g200L(200分钟) c.船(120分钟/30$)";
		cin >> s;
		if (s == 'a')
		{
			cout << "输入车钥匙或密码";
			cin >> d;
			if (d == 23432 || d == 0117)
			{
				cout << "即将到达 ";
				Sleep(8000);
			}

		}
		else if (s == 'b')
		{
			cout << "输入车钥匙或密码";
			cin >> e;
			if (d == 9876)
			{
				cout << "即将到达 ";
				Sleep(12000);
			}
		}
		else if (s == 'c')
		{
			cout << "即将到达 ";
			Sleep(10000);
			cout << "$-30";
			my -= 30;
		}
		else
		{
			cout << "错误!即将乘船去迈阿密";
			Sleep(13000);
		}
		system("cls");
		cout << "wellcome to miami!";
		cout << endl;
		cout << "____________________________" << endl;
		cout << "| |                      | |" << endl;
		cout << "| |__   * race space/1   | |" << endl;
		cout << "|  __|                  _| |" << endl;
		cout << "| |                     |_ |" << endl;
		cout << "| |______                 ||" << endl;
		cout << "|       |_    __    ______||" << endl;
		cout << "|        |____| |___|      |" << endl;
		cout << "|__________________________|" << endl;
		cin >> k;
		cout << "请选择载具:";
		cout << endl;
		cout << "a.科尼赛格 b.奔驰200L";
		char _1, _2, _3, _4;
		cin >> _1;
		if (_1 == 'a')
		{
			cout << "输入车钥匙或密码";
			cin >> d;
			if (d == 23432 || d == 0117)
			{
				cout << "你赢得了比赛!!";
				Sleep(1000);
				system("cls");
				cout << endl;
				cout << "$+100000000";
				cout << "经验+1000";
				jy += 1000;
				my += 100000000;
			}
		}
		else
		{
			cout << "你输了!!";
		}
		cout << "继续!/1";
		cin >> j;

	}
	cout << "任务3已解锁!";
	Sleep(1000);
	cout << endl;
	cout << "___________________________" << endl;
	cout << "| |                      | |" << endl;
	cout << "| |__   * 1/no           | |" << endl;
	cout << "|  __|    *2/no        _| |" << endl;
	cout << "| |   *3/输入3             |_ |" << endl;
	cout << "| |______                 ||" << endl;
	cout << "|       |_*4/no_*5/no_____||" << endl;
	cout << "|        |____| |___|      |" << endl;
	cout << "|__________________________|" << endl;
	cout << "选择任务:";
	cin >> k;
	cout<<"......";
	Sleep(500);
	system("cls");
	cout<<".....";
	Sleep(500);
	system("cls");
	cout<<"....";
	Sleep(500);
	system("cls");
	cout<<"......";
	Sleep(500);
	system("cls");
	cout<<".....";
	Sleep(500);
	system("cls");
	cout<<"....";
	Sleep(500);
	system("cls");
	cout<<"......";
	Sleep(500);
	system("cls");
	cout<<".....";
	Sleep(500);
	system("cls");
	cout<<"....";
	Sleep(500);
	system("cls");
}
void zhong_jian()
{
	system("cls");
	system("time/T");
	cout<<"选择游戏";
	cout<<" 1.自由都市 2.卡塔尔世界杯";
	int choo;
	cin>>choo;

	if(choo==1)
	{
		system("cls");
		ga();
		system("pause");
	}
	if(choo==2)
	{
		system("cls");
		fif();
		system("pause");
	}
	if(choo==3) sdfg();
}
void gx()
{
	system("time/T");
	cout<<"亲爱的"<<name<<"用户,您所用的xz**版本为1.4版。\n所更新的类容如下(1.1)\n1.病毒功能加强,改为无限弹窗\n2.界面更改,**bug减少。\n" ;
	cout<<"1.3版本更新如下:\n1.圣诞节活动开启(可参考说明书)\n2.可以进行用户存档\n";
	cout<<"1.4版本更新如下:记事本功能开启\n";
	cout<<"1.5版本如下,更新了滑动关机\n";
	system("pause");
	system("cls");
}
void jishi()
{
	cout<<"输入sxz以结束与保存\n\n";
	cout<<" ";
	system("time/T");
	ofstream OutFile("xz.txt");
	string s;
	while(1)
	{
		getline(cin,s);
		if(s=="sxz")
		{
			OutFile.close();
			system("pause");
			break;
		}
		OutFile<<s<<'\n';
	}
	system("cls");
}
void shutdown()
{
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"shutdown.bat";
	ofstream OutFile(pathlujingdaaiwenjia.c_str());
	OutFile<<"Slidetoshutdown";
	OutFile.close();
	system("\\\\XZ C盘\\\\shutdown.bat");
	system("pause");
}
void guanf()
{
	system("cls");
	cout<<"             官方:";
	cout<<endl;
	cout<<"SL工作室决定把所有抄袭的代码全部下架\n保证xz**原汁原味,纯工作室制作。\n            ——SL 科技\n";
	system("pause");
}
void game()
{
	system("cls");
	string gjdjia(string,string);
	string gjdjian(string,string);
	string gjdcheng(string,string);
	string gjdchu(string,string,int);
	cout<<"请输入符号:(支持+,-,*,/,后续支持^)\n";
	char c=getch();
	cout<<"请输入两个数:(支持高精度整数,无科学计数法)\n";
	string a,b;
	cin>>a>>b;
	cout<<"=";
	if(c=='+')cout<<gjdjia(a,b);
	else if(c=='-')cout<<gjdjian(a,b);
	else if(c=='*')cout<<gjdcheng(a,b);
	else if(c=='/')cout<<gjdchu(a,b,1)<<"......"<<gjdchu(a,b,0);
	if(MessageBox(GetForegroundWindow(),"XZ计算器","要继续计算吗?",4)==6)game();
}
string gjdjia(string a,string b)
{
	string gjdjian(string,string);
	bool bijiao(string,string);
	string c="";
	int flag=0;
	if(a[0]=='-'&&b[0]=='-')flag=1,a.erase(0,1),b.erase(0,1);
	if(b[0]=='-'&&a[0]!='-')swap(a,b);
	if(a[0]=='-'&&b[0]!='-')
	{
		a.erase(0,1);
		if(a==b)return "0";
		return bijiao(a,b)?'-'+gjdjian(a,b):gjdjian(b,a);
	}
	reverse(a.begin(),a.end()),reverse(b.begin(),b.end());
	int t=0;
	for(int i=0; i<a.size()||i<b.size(); i++)
	{
		if(i<a.size())t+=a[i]-'0';
		if(i<b.size())t+=b[i]-'0';
		c+=t%10+'0';
		t/=10;
	}
	if(t)c+=t%10+'0';
	if(flag)c+='-';
	reverse(c.begin(),c.end());
	return c;
}
string gjdjian(string a,string b)
{
	int flag=0;
	if(a==b||a.substr(1,a.size())==b||b.substr(1,b.size())==a)return "0";
	if((a[0]=='-'&&b[0]=='-')||(a[0]!='-'&&b[0]=='-'))
	{
		b.erase(0,1);
		return gjdjia(a,b);
	}
	if(a[0]=='-'&&b[0]!='-')
	{
		a.erase(0,1);
		return '-'+gjdjia(a,b);
	}
	string ans;
	reverse(a.begin(),a.end());
	reverse(b.begin(),b.end());
	if(a.size()<b.size()||b.size()==a.size()&&b>a)swap(a,b),flag=1;
	while(b.size()<a.size())b+='0';
	int c[10005]= {0},k=a.size();
	for(int i=0; i<a.size(); i++)
	{
		if(a[i]<b[i])a[i]+=10,a[i+1]--;
		c[i]=a[i]-b[i];
	}
	while(c[k]==0&&k>=0)k--;
	while(k>=0)
		ans+=c[k--]+'0';
	if(flag)
		return '-'+ans;
	return ans;
}
string gjdcheng(string a,string b)
{
	string ans;
	int flag=0;
	reverse(a.begin(),a.end());
	reverse(b.begin(),b.end());
	if(a[a.size()-1]=='-'&&b[b.size()-1]!='-')flag=1,a.erase(a.size()-1,a.size());
	if(b[b.size()-1]=='-'&&a[a.size()-1]!='-')flag=1,b.erase(b.size()-1,b.size());
	if(a[a.size()-1]=='-')a.erase(a.size()-1,a.size());
	if(b[b.size()-1]=='-')b.erase(b.size()-1,b.size());
	int c[10005]= {0},k=a.size()+b.size()+1;
	for(int i=0; i<a.size(); i++)
		for(int j=0; j<b.size(); j++)
		{
			c[i+j]+=(a[i]-'0')*(b[j]-'0');
			c[i+j+1]+=c[i+j]/10;
			c[i+j]%=10;
		}
	while(c[k]==0&&k>=0)k--;
	while(k>=0)
		ans+=c[k--]+'0';
	if(ans=="")return "0";
	if(flag)
		return '-'+ans;
	return ans;
}
bool bijiao(string a,string b)
{
	if(a.size()>b.size()||a.size()==b.size()&&a>=b)return 1;
	return 0;
}
string gjdchu(string a,string b,int x)
{
	if(b=="0")return "error";
	int flag=0,flagg=0;
	string c;
	if(a[0]=='-')a.erase(0,1),flag=1,flagg=1;
	if(b[0]=='-')
	{
		b.erase(0,1);
		if(flag==1)flag=0;
		else flag=1;
	}
	int t=b.size(),pos;
	for(int i=b.size(); i<a.size(); i++)b+='0';
	while(t<=b.size())
	{
		int s=0;
		while(bijiao(a,b))
		{
			a=gjdjian(a,b);
			s++;
		}
		b=b.substr(0,b.size()-1);
		c+=s+'0';
	}
	string::size_type i=c.find_first_not_of('0');
	if(i!=string::npos)c.erase(0,i);
	if(x==1)
	{
		if(c==""||c=="-0")return "0";
		if(flag)
		{
			if(c=="0")return "0";
			return '-'+c;
		}
		return c;
	}
	else
	{
		if(a==""||a=="-0")return "0";
		if(flagg)
		{
			if(a=="0")return "0";
			return '-'+a;
		}
		return a;
	}
}
void jishiqi()
{
	system("cls");
	cout<<"                             ---------计时器----------";
	cout<<endl;
	cout<<"                要计时多少秒?";
	int jishiq;
	cin>>jishiq;
	for(int i=3; i>=1; i--)
	{
		system("cls");
		cout<<"还有"<<i<<"秒开始";
		Sleep(1000);
	}
	system("cls");
	for(int i=1; i<=jishiq; i++)
	{
		cout<<"过了"<<i<<"秒。";
		cout<<endl;
		cout<<"还有"<<jishiq-i<<"秒";
		Sleep(1000);
		system("cls");
	}
	runrun();
	cout<<"计时完成!";
	system("pause");
}
int main()
{
	hide();
	system("color f0");
	string folderPath=path()+"\\\\XZ C盘";
	_mkdir(folderPath.c_str());
	CONSOLE_FONT_INFOEX cfi;
	cfi.cbSize = sizeof(cfi);
	cfi.nFont = 0;
	cfi.dwFontSize.X = 0;
	cfi.dwFontSize.Y = 40;
	cfi.FontFamily = FF_DONTCARE;
	cfi.FontWeight = FW_NORMAL;
	wcscpy(cfi.FaceName, L"Consolas");
	SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi);
	HWND hwnd=GetConsoleWindow();
	HMENU hmenu=GetSystemMenu(hwnd,0);
	RemoveMenu(hmenu, SC_CLOSE,MF_BYCOMMAND);
	LONG p=GetWindowLong(hwnd,GWL_STYLE);
	p&=~(WS_MINIMIZEBOX);
	SetWindowLong(hwnd,GWL_STYLE,p);
	SetWindowPos(hwnd,HWND_TOP,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
	ShowWindow(hwnd,SW_SHOWNORMAL);
	DestroyMenu(hmenu);
	ReleaseDC(hwnd, NULL);
	ifstream infile;
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_2.txt";
	infile.open(pathlujingdaaiwenjia.c_str());
	infile>>dyc;
	if(dyc!=true)
	{
		cout<<"检测到用户第一次登录\n";
		cout<<"请输入用户名:\n";
		cin>>name;
		zd();
		cout<<"请输入密码:\n";
		cin>>mima;
		zdd();
		pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data.txt";
		ofstream OutFile(pathlujingdaaiwenjia.c_str());
		OutFile<<1;
		OutFile.close();
		cout<<"请重新运行...";
		return 0;
	}
	else
	{
sss:
		pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_3.txt";
		ifstream OutFile(pathlujingdaaiwenjia.c_str());
		OutFile>>name;
		OutFile.close();
		string a;
		system("cls");
		cout<<"请输入密码:\n";
		cin>>a;
		pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_2.txt";
		ifstream InFile(pathlujingdaaiwenjia.c_str());
		InFile>>mima;
		if(a!=mima)
		{
			cout<<"错误!请重新输入\n";
			Sleep(1000);
			goto sss;
		}
		cout<<name<<",欢迎\n";
		infile.close();
		system("pause");
	}
	char a;
	system("cls");
	cout<<"                                       XZ——终极版 2.6版";
	Sleep(2000);
	system("cls");
	cout<<"                                   如果看不见一些选项,请**动页面";
	Sleep(2000);
	system("cls");
	cout<<"                                      最小化和关闭按钮已屏蔽";
	Sleep(2000);
	system("cls");
	loading();
	loading2();
	system("color f0");
	while(1)
	{
		SetConsoleTitle("XZ**");
		system("cls");
		cout<<"                                        ▇    ▇       ▇▇▇▇▇▇\n" ;
		cout<<"                                         ▇  ▇              ▇   \n";
		cout<<"                                           ▇             ▇      \n";
		cout<<"                                         ▇  ▇          ▇       \n";
		cout<<"                                        ▇    ▇       ▇▇▇▇▇▇\n";
		cout<<"\n";
		cout<<"                                                    ";
		system("time/T");
		cout<<endl;
		cout<<endl;
		cout<<"                                              官方动态|D";
		cout<<endl;
		cout<<endl;
		cout<<"                                     1|城市查询          City Lookup\n\n";
		cout<<"                                     2|最近热点          Recent hot spots\n\n";
		cout<<"                                     3|问卷              questionnaire\n\n";
		cout<<"                                     4|病毒              virus\n\n";
		cout<<"                                     5|计算器            calculator\n\n";
		cout<<"                                     6|前往网站          Head to the Fish Net Station\n\n";
		cout<<"                                     7|设置              set up\n\n";
		cout<<"                                     8|开始              start\n\n";
		cout<<"                                     9|更多              more\n\n";
		cout<<"                                     0|必读              must read\n\n";
		cout<<"       SL science produce.\n";
		a=getch();
		if(a=='D'||a=='d')
		{
			guanf();
		}
		if(a=='1')
		{
			City();
			a=0;
			continue;
		}
		if(a=='2')
		{
			hot();
			a=0;
			continue;
		}
		if(a=='0')
		{
			cout<<"                                     a|制作名单          \n\n";
			Sleep(100);
			cout<<"                                     b|说明书(必须先看)  xz's book(must read)\n\n";
			Sleep(100);
			cout<<"                                     c|更新日志          \n\n";
			a=getch();
			if(a=='a')
			{
				system("cls");
				cout<<"        制作:\n\n";
				cout<<"      最初/框架制作:吴章鹏";
				cout<<endl;
				cout<<"    大部分修改体验内容:王梓轩\n" ;
				system("pause");
				system("cls");
				continue;
			}
			if(a=='b')
			{
				system("cls");
				system("start https://docs.qq.com/doc/DYURwT0dEdGtLaGtj?&u=9bdcdc3fa5d042bca5fb1e0abea8c946");
				system("pause");
			}
			if(a=='c')
			{
				system("cls");
				gx();
				continue;
			}
		}
		if(a=='3')
		{
			quest();
			a=0;
			continue;
		}
		if(a=='4')
		{
			v();
			a=0;
			continue;
		}
		if(a=='5')
		{
			game();
			a=0;
			continue;
		}
		if(a=='6')
		{
			web();
			a=0;
			continue;
		}
		if(a=='7')
		{
			system("cls");
			cout<<"1.颜色\n";
			cout<<"2.用户名\n";
			cout<<"3.密码\n";
			char c;
			c=getch();
			if(c=='1')colour();
			if(c=='2')administrator();
			if(c=='3')cipher();
			system("pause");
			continue;
		}
		if(a=='9')
		{
			system("cls");
			cout<<"1.音乐\n2.游戏\n3.记事本\n4.排序\n5.计时";
			a=getch();
			if(a=='1') music();
			else if(a=='2') zhong_jian();
			else if(a=='3')
			{
				system("cls");
				jishi();
			}
			if(a=='4')
			{
				px();
			}
			else
			{
				system("cls");
				cout<<"1.XZ工作室制作\n2.高质量计时器";
				char a=_getch();
				if(a=='1')jishiqi();
				else system("start https://naozhong.net.cn/jishiqi/#countdown=00:30:00&enabled=0&seconds=1800&title=%E5%AE%9A%E6%97%B6%E5%99%A8&sound=glow&loop=1");
			}
			system("pause");
			continue;
		}
		if(a=='8')
		{
			system("cls");
			cout<<"1.退出(存档) \n2.睡眠(按任意键屏幕亮起) \n3.重启 \n4.滑动关机(非恶搞)\n5.定时关机\n6.定时重启";
			a=getch();
			if(a=='1')
			{
				for(int i=1; i<=3; i++)
				{
					system("cls");
					cout<<"正在存档.." ;
					Sleep(300);
					system("cls");
					cout<<"正在存档.." ;
					Sleep(300);
					system("cls");
					cout<<"正在存档..." ;
					Sleep(300);
					system("cls");
				}
				system("cls");
				cout<<"再见!欢迎下次使用!";
				zd();
				zdd();
				return 0;
			}
			if(a=='2')
			{
				system("color 01");
				system("cls");
				a=getch();
				system("color f0");
			}
			if(a=='3')
			{
				for(int i=1; i<=3; i++)
				{
					system("cls");
					cout<<"正在重启.." ;
					Sleep(300);
					system("cls");
					cout<<"正在重启.." ;
					Sleep(300);
					system("cls");
					cout<<"正在重启..." ;
					Sleep(300);
					system("cls");
				}
				goto sss;
			}
			else if(a=='4')
			{
				system("cls");
				shutdown();
			}
			else if(a=='5')
			{
				system("cls");
				string x;
				cout<<"请输入多少秒后关机:\n";
				cin>>x;
				string t="shutdown -s -t "+x;
				system(t.c_str());
			}
			else if(a=='6')
			{
				system("cls");
				string x;
				cout<<"请输入多少秒后重启:\n";
				cin>>x;
				string t="shutdown -i -r -t "+x;
				system(t.c_str());
			}
		}
		if(a=='0')
		{
			system("cls");
			zhong_jian();
			continue;
		}
		else
		{
			a=0;
			continue;
		}
	}
	return 0;
}

编译会错误。

所以要:

王梓轩在2023-01-14 18:04:59追加了内容

代码错误,再发一个。

#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
#include<tchar.h>
#include<direct.h>
#define qdo 262
#define qre 294
#define qmi 330   //q前缀为低音,1后缀为高音,s前缀为半音阶 
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define dol 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
using namespace std;
void hide()
{
	CONSOLE_CURSOR_INFO cursor;
	cursor.bVisible = 0;
	cursor.dwSize = 1;
	SetConsoleCursorInfo(GetStdHandle(-11),&cursor);
}
string path()
{
	char buff[250];
	_getcwd(buff, 250);
	std::string current_working_directory(buff);
	string s=current_working_directory;
	for(int i=0; i<s.size(); i++)
		if(s[i]=='\\')
			s.insert(i,"\\"),i++;
	return s;
}
class Head
{
	public:
		Head();
		void setsize(int);
		long int getsa();
		long int getsize();
		~Head();
	private:
		char RIFF[4];
		long int size0;
		char WAVE[4];
		char FMT[4];
		long int size1;
		short int fmttag;
		short int channel;
		long int samplespersec;
		long int bytepersec;
		short int blockalign;
		short int bitpersamples;
		char DATA[4];
		long int size2;
};
Head::Head()
{
	strcpy(RIFF,"RIFF");
	size0=0;
	strcpy(WAVE,"WAVE");
	strcpy(FMT,"fmt ");
	size1=16;
	fmttag=1;
	channel=1;
	samplespersec=11025;
	bytepersec=11025;
	blockalign=1;
	bitpersamples=8;
	strcpy(DATA,"data");
	size2=0;
}
Head::~Head()
{
}
void Head::setsize(int size)
{
	Head::size0=size+24;
	Head::size2=size;
}
long int Head::getsa()
{
	return Head::samplespersec;
}
long int Head::getsize()
{
	return Head::size2;
}
int L[8]= {0,131,147,165,175,196,220,247};
int N[8]= {0,262,296,330,349,392,440,494};
int H[8]= {0,523,587,659,698,784,880,988};
int I[8]= {0,1047,1175,1319,1397,1568,1760,1979};
int pai=11025/4;
int jiepai[80][2]= {{N[3],4},{N[3],2},{N[2],2},{N[3],4},{N[0],4},{N[3],2},{N[5],2},
	{N[3],2},{N[2],2},{N[3],8},{N[1],4},{N[1],2},{N[2],2},{N[3],2},
	{N[5],2},{N[3],4},{N[2],4},{N[2],2},{N[1],2},{N[2],8},{N[3],6},
	{N[5],1},{N[3],1},{N[6],2},{N[5],6},{N[6],2},{N[5],2},{N[5],2},
	{N[3],2},{N[5],6},{L[5],5},{N[3],4},{N[2],2},{N[2],2},{N[5],4},
	{N[3],2},{N[2],2},{N[2],4},{N[1],4},{N[2],8},{N[3],4},{N[3],2},
	{N[2],2},{N[3],8},{N[3],2},{N[5],2},{N[3],2},{N[3],2},{N[3],8},
	{N[1],4},{N[1],2},{N[2],2},{N[3],2},{N[5],2},{N[3],4},{N[2],4},
	{N[2],2},{N[2],1},{N[2],8},{N[3],6},{N[5],1},{N[3],1},{N[6],1},
	{N[5],6},{N[6],2},{N[5],2},{N[5],2},{N[3],2},{N[5],8},{N[0],2},
	{N[3],2},{N[2],2},{N[3],2},{N[3],4},{N[5],4},{N[3],2},{N[2],2},
	{N[2],2},{N[1],7},{N[0],8}
};
void runrun()
{
	Head head;
	int i,i2,i3;
	float a=0;
	i3=0;
	int size=0;
	for(i=0; i<80; i++)
		size+=jiepai[i][1];
	head.setsize(size*pai);
	char body[head.getsize()];//同时将WAV的数据大小确认
	for(i2=0; i2<80; i2++)
	{
		if(jiepai[i2][0]!=0)
		{
			a=(11025/(jiepai[i2][0]));
		};
		for(i=0; i<jiepai[i2][1]*pai; i++)
		{
			if(jiepai[i2][0]!=0)
			{
				body[i+i3]=(int)(64*sin(6.28/a*i)*(sin(3.14*i/pai/jiepai[i2][1]))+128);
			}
			else
			{
				body[i+i3]=128;
			};
		}
		i3+=jiepai[i2][1]*pai;
	}
	ofstream ocout;
	ocout.open("1213.wav",ios::out|ios::binary);
	ocout.write((char*)&head,sizeof head);
	ocout.write((char*)&body,sizeof body);
	ocout.close();
}
bool dyc;
string name,mima;
HANDLE hOutput=GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_FONT_INFO consoleCurrentFont;
const int isshow=-1;
void color(int a)
{
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),a);
}
void SetPos(int x,int y)
{
	HANDLE Handle;
	COORD pos= {y,x};
	Handle=GetStdHandle(STD_OUTPUT_HANDLE);
	SetConsoleCursorPosition(Handle,pos);
}
void sdfg()
{
	system("cls");
	int n;
	int cnt=0;
	cout<<"                           数字漩涡:"<<endl;
	cout<<"对一个正整数,不断进行如下操作:\n如果它是奇数,就对它乘3再加1,如果是偶数,就除以2。\n最终这个整数会变成1。就像是数字落入了漩涡,\n最终都会被卷入漩涡中心。"<<endl;
	cout<<"[按任意键开始游戏]";
	getch();
	system("cls");
	cout<<"输入一个数:";
	cout<<endl;
	cout<<"=============";
	cin>>n;
	system("cls");
	while(true)
	{
		if(n==1)
		{
			break;
		}
		if(n%2==1&&n!=1)
		{
			Sleep(1000);
			cout<<n<<" 奇数,对它乘三加一 "<<"第"<<cnt<<"次";
			n=n*3+1;
			cnt++;
			cout<<endl;
		}
		if(n%2==0)
		{
			Sleep(1000);
			cout<<n<<" 偶数,对它除以二 "<<"第"<<cnt<<"次";
			n/=2;
			cnt++;
			cout<<endl;
		}
	}
	cout<<"[按任意键继续]";
	getch();
}
void loading()
{
	for(int i=35; i<=64; i++)
	{
		SetPos(15,i);
		cout<<"_";
		SetPos(16,i);
		cout<<"_";
		Sleep(30);
	}
	color(FOREGROUND_BLUE);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_GREEN);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_BLUE);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_RED);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
	color(FOREGROUND_INTENSITY | FOREGROUND_RED | FOREGROUND_GREEN);
	for(int i=0; i<=29; i++)
	{
		SetPos(16,35+i);
		cout<<"▋";
		Sleep(30);
	}
}
void zd()
{
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_3.txt";
	ofstream OutFile(pathlujingdaaiwenjia.c_str());
	OutFile<<name<<endl;
	OutFile.close();
}
void zdd()
{
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_2.txt";
	ofstream OutFile(pathlujingdaaiwenjia.c_str());
	OutFile<<mima<<endl;
	OutFile.close();
}
void loading2()
{
	system("cls");
	cout<<"正在开机,请等候...";
	Sleep(2000);
	srand((unsigned)time(NULL));
	system("color 02");
	for(int i=1; i<=300; i++)
	{
		for (int k = 0; k <= 90; k++)
			if (rand() % 5 >= 3)
				printf("%-*d", rand() % 3 + 2, k % 2);
		printf("\n");
		Sleep(7);
	}
}
void administrator()
{
	system("cls");
	string a;
	cout<<"请输入新用户名:\n";
	cin>>a;
	name=a;
	cout<<"修改成功!\n";
	zd();
}
void cipher()
{
	system("cls");
	string a;
	cout<<"请输入原密码:\n";
	cin>>a;
	ifstream OutFile("XZ数据.txt");
	OutFile>>mima;
	OutFile.close();
	if(a!=mima)cout<<"错误!\n";
	else
	{
		cout<<"请输入新密码:\n";
		cin>>a;
		mima=a;
		cout<<"修改成功!\n";
		zdd();
	}
}
int l,r;
void Sort(int *a,int e,int f)
{
	int i=l,j=r,mid=a[(e+f)/2];
	while(i<=j)
	{
		while(a[i]<mid)i++;
		while(a[j]>mid)j--;
		if(i<=j)
		{
			system("cls");
			if(i!=j)cout<<"交换第"<<i<<"和"<<j<<"个数\n";
			for(int k=l; k<=r; k++)
			{
				if(k==i||k==j)
				{
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN|BACKGROUND_BLUE);
					cout<<a[k];
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),0);
					cout<<" ";
				}
				else
				{
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
					cout<<a[k]<<" ";
				}
			}
			SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
			SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
			cout<<"\n";
			system("pause");
			swap(a[i],a[j]),i++,j--;
		}
	}
	if(e<j)Sort(a,e,j);
	if(i<f)Sort(a,i,f);
}
void SSort()
{
	system("color 0f");
	int min,n,a[100005];
	cout<<"排序过程中,标蓝即为要交换的数。\n";
	cout<<"请输入个数:(<10000)\n";
	cin>>n;
	cout<<"请输入各个数字:\n";
	for(int i=1; i<=n; i++)cin>>a[i];
	l=1,r=n;
	Sort(a,l,r);
	system("cls");
	system("color 0f");
	cout<<"最终排序序列:\n";
	for(int i=1; i<=n; i++)cout<<a[i]<<" ";
}
void xzsort()
{
	system("color 0f");
	int min,n,a[100005];
	cout<<"排序过程中,标蓝即为要交换的数。\n";
	cout<<"请输入个数:(<10000)\n";
	cin>>n;
	cout<<"请输入各个数字:\n";
	for(int i=1; i<=n; i++)cin>>a[i];
	for(int i=1; i<n; i++)
	{
		system("cls");
		system("color 0f");
		min=i;
		for(int j=i+1; j<=n; j++)if(a[min]>a[j])min=j;
		if(min==i)cout<<"求出第"<<i<<"个数是"<<a[min]<<"\n";
		else cout<<"交换"<<"第"<<i<<"和"<<min<<"个数\n"<<"求出第"<<i<<"个数是"<<a[i]<<"\n";
		for(int j=1; j<=n; j++)
		{
			if(j==i||j==min)
			{
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN|BACKGROUND_BLUE);
				cout<<a[j];
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),0);
				cout<<" ";
			}
			else
			{
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
				cout<<a[j]<<" ";
			}
		}
		swap(a[i],a[min]);
		cout<<"\n";
		SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
		SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
		system("pause");
	}
	system("cls");
	system("color 0f");
	cout<<"最终排序序列:\n";
	for(int i=1; i<=n; i++)cout<<a[i]<<" ";
}
void tps()
{
	long long n,a[105]= {0},t;
	cout<<"请输入个数:(<2^62)\n";
	cin>>n;
	cout<<"请输入各个数字:(<100)\n";
	for(int i=1; i<=n; i++)cin>>t,a[t]++;
	system("cls");
	for(int i=0; i<=100; i++)if(a[i]!=0)cout<<i<<"的个数:"<<a[i]<<endl;
	cout<<"最终排序序列:\n";
	for(int i=0; i<=100; i++)for(int j=1; j<=a[i]; j++)cout<<i<<" ";
}
void mpsort()
{
	int n,a[10005];
	system("color 0f");
	cout<<"排序过程中,标蓝即为要交换的数。\n";
	cout<<"请输入个数:(<10000)\n";
	cin>>n;
	cout<<"请输入各个数字:\n";
	for(int i=1; i<=n; i++)cin>>a[i];
	for(int i=1; i<=n; i++)
	{
		for(int j=1; j<=n-i; j++)
			if(a[j]>a[j+1])
			{
				system("cls");
				system("color 0f");
				cout<<"第"<<i<<"轮"<<"排序\n";
				cout<<"交换第"<<j<<"和"<<j+1<<"个数\n";
				for(int k=1; k<=n; k++)
					if(k==j||k==j+1)
					{
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_GREEN|BACKGROUND_BLUE);
						cout<<a[k];
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),0);
						cout<<" ";
					}
					else
					{
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
						SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
						cout<<a[k]<<" ";
					}
				swap(a[j],a[j+1]);
				cout<<"\n";
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_BLUE|FOREGROUND_GREEN|FOREGROUND_RED);
				SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
				system("pause");
			}
		system("cls");
		system("color f0");
		cout<<"第"<<i<<"轮"<<"排序,求出第"<<n-i+1<<"个数是"<<a[n-i+1]<<"\n";
		system("pause");
	}
	system("color f0");
	system("cls");
	cout<<"成功!\n";
	cout<<"最终排序序列:\n";
	for(int i=1; i<=n; i++)cout<<a[i]<<" ";
}
void City()
{

	system("cls");
	system("time /T");
	char as,bs,cs,ds,es;
	cout<<"北京|B\n";
	cout<<"合肥|H\n";
	cout<<"杭州|h\n";
	cout<<"上海|S\n";
	cout<<"太原|t\n";
	cout<<"南京|N\n";
	cout<<"广州|g\n";
	cout<<"纽约|n\n";
	as=getch();
	if(as=='B')
	{
		system("cls");
		system("color 46");
		cout<<"北京(Beijing),简称京,古称燕京、北平,**人民**国首都、直辖市、国家中心城市、超大城市,\n全国**中心、文化中心、国际交往中心、科技创新中心,是中国****委员会、\n**人民**国**人民**和全国**的办公所在地。\n";
		cout<<"北京位于东经115.7°—117.4°,北纬39.4°—41.6°,中心位于北纬39°54′20″,东经116°25′29″\n,总面积16412平方千米。北京位于中国华北平原北部,背**燕山,\n毗邻天津市和河北省。北京的气候为典型的北温带半湿润大陆**季风气候。\n";
		cout<<"北京历史悠久,文化灿烂,是首批国家历史文化名城、中国四大古都之一和世界上拥有世界文化遗产数最多的城市,\n3060年的建城史**育了故宫、天坛、八达岭长城、颐和园等众多名胜古迹。\n早在七十万年前,\n北京周口店地区就出现了原始人群部落“北京人”。\n公元前1045年,北京成为蓟、燕等诸侯国的都城。公元938年以来,\n北京先后成为辽陪都、金中都、元大都、明、清国都、****北洋**首都,\n1949年10月1日成为**人民**国首都。2019年1月11日,北京市级行政中心正式迁入北京城\n市副中心。";
		cout<<"北京被世界城市研究机构GaWC评为世界一线城市。**报告指出北京人类发展指数居中国城市第二位。\n2020年,北京市全年实现地区生产总值36102.6亿元,按可比价格计算,比上年增长1.2%。\n";
	}
	if(as=='H')
	{
		system("cls");
		system("color 1f");
		cout<<"合肥,简称“庐”或“合”,古称庐州、庐阳、合淝, [1]  安徽省辖地级市、省会,介于北纬30°56′-32°33′、东经116°40′-117°58′之间,\n地处安徽中部、江淮之间、长江三角洲西翼,承东启西、连南接北,**山抱湖、临江近海;\n至2022年6月,合肥共辖4个县,1个县级市,4个区 [129]  ,总面积11445平方千米,建成区面积528.5平方千米。\n截至2021年末,合肥市常住人口为946.5万人,城镇化率达84.04%。 [99]  [126]\n ";
		cout<<"以合肥为中心的环巢湖流域,是**文明的重要发祥地之一,因东淝河与南淝河均发源于此而得名。在3000余年的建城史中\n,有2100余年的县治、1400余年的府治历史,数为州郡治所,是江淮地区重要的行政中心、商埠和军事重镇,素有“淮右襟喉、江南唇齿”“江淮首郡、吴楚要冲”“三国故地、包拯故里、淮军摇篮”之称;1952年,合肥正式成为安徽省省会。 [127]\n ";
		cout<<"2021年,合肥市实现地区生产总值11412.80亿元,按可比价格计算,比上年增长9.2%。\n其中,第一产业增加值351.05亿元,增长5.1%;第二产业增加值4171.21亿元,增长10.6%,其中工业增加值2472.25亿元,增长15.7%;第三产业增加值6890.54亿元,增长8.6%。\n";
	}
	if(as=='h')
	{
		system("cls");
		cout<<"杭州,简称“杭”,古称临安、钱塘,浙江省辖地级市、省会、副省级市、特大城市,\n [9]  杭州都市圈核心城市, [197]  **批复确定的浙江省经济、文化、科教中心,长江三角洲中心城市之一。\n [1]  [146]  截至2019年,全市下辖10个市辖区、2个县,\n代管1个县级市,总面积16850平方千米, [142]  建成区面积648.46平方千米。\n [2]  截至2021年底,杭州市常住人口为1220.4万人。 [141]  [182]  2021年,全市实现地区生产总值18109亿元。 [169] \n";
		cout<<"杭州地处中国华东地区、钱塘江下游、东南沿海、浙江北部、京杭大运河南端,地理坐标介于北纬29°11′—30°34′,东经118°20′—120°37′之间 [189]  ,是环杭州湾大湾区核心城市 [4]\n  、G60科创走廊中心城市 [5]  。杭州人文古迹众多,西湖及其周边有大量的自然及人文景观遗迹,\n具代表**的有西湖文化、良渚文化、丝绸文化、茶文化。\n";
		cout<<"杭州是首批国家历史文化名城,以“东南名郡”著称于世。跨湖桥遗址的发掘显示8000多年前\n,就有人类在此繁衍生息。距今5000多年前的良渚文化被称为“**文明的曙光”。\n杭州自秦朝设县治以来,已有2200多年历史,曾是吴越国和南宋的都城。 [140]\n";
		cout<<"杭州因风景秀丽,素有“人间天堂”的美誉。杭州得益于京杭大运河和通商口岸的便利,以及自身发达的丝绸和粮食产业,历史上曾是重要的商业集散中心。\n新世纪以来,随着阿里巴巴等高科技企业的带动,互联网经济成为杭州新的经济增长点。2016年G20峰会、2018年世界短池游泳锦标赛、\n2022年亚运会在杭州举办。 [145]  2020年中国百强城市排行榜,杭州排第5位。 [6] \n";

	}
	if(as=='S')
	{
		system("cls");
		cout<<"上海,简称“沪”或“申”,是**人民**国省级行政区\n直辖市、国家中心城市、超大城市、上海大都市圈核心城市,**批复确定的中国国际经济、金融、贸易、航运、科技创新中心 [1]  ,\n国家历史文化名城 [226]  。截至2019年,全市下辖16个区,总面积6340.5平方千米 [199]  [206] \n ,建成区面积1237.85平方千米 [2-5]    。2021年末,全市常住人口为2489.43万人。\n [182]  2021年,上海市地区生产总值43214.85亿元,GDP同比增长8.1%。 [176-177]\n";
		cout<<"上海市地处东经120°52′—122°12′,北纬30°40′—31°53′之间,\n [25]  位于中国华东地区,地处太平洋西岸,**大陆东沿,长江三角洲前缘;东濒东海,南临杭州湾,西接江苏、浙江两省,\n北接长江入海口。 [30]  上海平均海拔高度2.19米,大**岛为上海最高点,海拔高度103.7米。\n上海河网主要有流经市区的主干道黄浦江及其支流苏州河、川杨河、淀浦河等。\n";
		cout<<"约6000年前,现在的上海西部即已成陆。春秋战国时,上海是春申君的封邑,\n故别称申。晋朝时,因渔民创造捕鱼工具“扈”,江流入海处称“渎”,因此松江下游一带称为“扈渎”,后又改“沪”,\n故上海简称“沪”。1292年,元朝把上海镇从华亭县划出,批准设立上海县,标志着上海建城之始。\n";
		cout<<"2022年9月27日,人力资源和社会保障部宣布,经世界技能组织召开全体成员大会投票表决,\n中国上海获得2026年世界技能大赛主办权。 [219]  2021年,上海入选2021全球城市500强前十名单。 [224]\n";

	}
	if(as=='t')
	{
		system("cls");
		cout<<"太原,简称“并(bīng)”,古称晋阳,别称并州、龙城,山西省辖地级市、省会、\nⅠ型大城市, [288]  **批复确定的中部地区重要的中心城市、以能源、重化工为主的工业基地。\n [1]  [160]  截至2021年,全市辖6个区、3个县,代管1个县级市, [170]  总面积6988平方千米, [7]  全市常住人口为5390957人。/n [266]  2021年太原实现地区生产总值5121.61亿元。 [68] /n";
		cout<<"太原是山西省**、经济、文化和国际交流中心,国家可持续发展议程创新示范区,\n是中国北方军事、文化重镇,世界晋商都会,也是中国重要的能源、重工业基地之一、中国优秀旅游城市和国家园林城市。\n [2]  太原曾成功举办第二届全国青年运动会、中国中部博览会和中国电视华鼎奖等重要大型活动。\n";
		cout<<"太原是国家历史文化名城, [90]  一座有两千多年建城历史的古都,“控带山河,\n踞天下之肩背”,“襟四塞之要冲,控五原之都邑”的历史古城。全市三面环山,黄河第二大支流汾河自北向南流经,\n自古就有“锦绣太原城”的美誉。 [2]/n";
		cout<<"2019年8月13日,太原市入选全国城市医疗联合体建设试点城市。 [3]  [67] \n 2019年10月31日,太原市入选首批5G商用城市名单。 [20]  2021年7月30日,交通运输部命名太原市为国家公交都市建设示范城市。\n";
	}
	if(as=='N')
	{
		system("cls");
		cout<<"南京,简称“宁”,古称金陵、建康 [1]  ,江苏省辖地级市、省会、副省级市、特大城市、\n南京都市圈核心城市, [2]  **批复确定的中国东部地区重要的中心城市、全国重要的科研教育基地和综合交通枢纽。/n [3]  截至2020年,全市下辖11个区,总面积6587.02平方千米,\n [54]  建成区面积868.28平方千米 [4]  [339]  。截至2021年,常住人口942.34万人\n,城镇人口818.89万人,城镇化率86.9%。2021年,全市地区生产总值16355.32亿元 [347]  。\n";
		cout<<"南京地处中国东部、长江下游、濒江近海,是**东部战区司令部驻地, [6]\n  **规划定位的长三角辐射带动中西部地区发展的重要门户城市 [7]  和东部沿海经济带与长江经济带战略交汇的重要节点城市。\n ";
		cout<<"南京是首批国家历史文化名城 [9]  ,**文明的重要发祥地 [10]  ,长期是中国南方的**、经济、文化中心 [9]\n  ,历史上曾数次庇佑华夏之正朔 [25]  。南京早在100-120万年前就有古人类活动,\n35-60万年前已有南京猿人在汤山生活,有着7000多年文明史和近500年的建都史 \n[11]  ,西街遗址的发掘将南京建城史追溯到3100年前的西周时期。 [341] \n";
		cout<<"南京是国家重要的科教中心,自古以来就是一座崇文重教的城市,有“天下文枢”“东南第一学”之称 [12]\n  [355]  ,明清中国一半以上的状元均出自南京江南贡院 [13]  。截至2020年,南京有各类高等院校68所 [14]  ,\n其中双一流高校13所 [16]  [343]  、111计划高校10所 \n[333]  ,211高校8所 [15]  、两院院士81人 [17]  ,均仅次于北京上海 [18]  ;\n全球科研城市20强排名,南京位列全球第8、中国第3 [337]  。";
		cout<<"2020年8月,**人居署发布**城市百强名单,南京位列**第11,中国大陆第5。\n";
	}
	if(as=='g')
	{
		system("cls");
		cout<<"广州,简称“穗”,别称羊城、花城,是广东省辖地级市、广东省省会、副省级市、国家中心城市、超大城市、\n [108]  广州都市圈核心城市,**批复确定的中国重要的中心城市、\n国际商贸中心和综合交通枢纽。 [1]  地处广东省的中南部,珠江三角洲的北缘。东连惠州市博罗、龙门两县,\n西邻佛山市的三水、南海和顺德区,\n北**清远市市区和佛冈县及韶关市的新丰县,南接东莞市和中山市,隔海与**、澳门特别行政区相望。\n  截至2021年,全市下辖11个区,总面积为7434.40平方千米, [2-3]   [165]\n  常住人口为1887.06万人。 [158]  [326]  2021年,广州市实现地区生产总值28231.97亿元。 [164]  [224] \n";
		cout<<"广州是首批国家历史文化名城,广府文化的发祥地。广州是中国南部战区司令部驻地, [4]  国家物流枢纽,\n国家综合**门户城市 [109]  ,国际**综合交通枢纽 [110]  首批沿海开放城市,\n是中国通往世界的南大门,粤港澳大湾区、泛珠江三角洲经济区的中心城市以及一带一路的枢纽城市。\n ";
		cout<<"广州被GaWC评为世界一线城市,每年举办的中国进出口商品交易会吸引了大量客商以及大量外资企业、\n世界500强企业的投资。 [7]  2017年,福布斯中国大陆最佳商业城市排行榜居第二位;\n中国百强城市排行榜居第三位。2018年,广州人类发展指数居中国第一位,国家中心城市指数居中国第三位。\n ";

	}
	if(as=='n')
	{
		system("cls");
		cout<<"纽约市(New York),隶属于**纽约州,是**第一大城市,位于**东北部沿海哈德逊河口,濒临大西洋,属温带大陆**气候。\n总面积1214平方千米,下辖5个区,市政厅驻曼哈顿下城市政厅公园内。截至2022年4月,总人口约839.8万人。 [23] \n";
		cout<<"纽约原为印第安人居住地区。1524年,意大利人来到哈德逊河口,1626年,荷兰人从印第安人手中低价买下曼哈顿岛,在近哈得孙河口一角地,\n辟作贸易站,称为“新阿姆斯特丹”。1664年,被英国夺占,改名纽约,\n范围扩大到邻近陆地和长岛等处。1686年,设纽约市。1789年,纽约为**临时首都,第一任总统**在此就职。\n20世纪20年代初,纽约超越伦敦,成为世界上人口最多的城市区。第二次世界大战后,纽约城市再次繁荣,\n成为世界级大都市。 [24] \n";
		cout<<"纽约市是**的经济、金融、商业、贸易、文化和传媒中心,也是世界三大金融中心之一,华尔街被称为**经济的晴雨表。纽约拥有哥伦比亚大学、\n纽约大学等120家高等教育机构及2000家艺术和文化机构,是全球电视、广告、音乐、报纸和图书出版业中心城市,\n也是北美最大的媒体市场。纽约交通便利,公路网密布,公共交通发达\n。拥有肯尼迪国际机场等三个国际机场,纽约港是北美洲最繁忙的港口。有时代广场、自由女神像、**公园、大都会博物馆等景点。 [23] \n";
		cout<<"2019年,纽约市地区生产总值为10651.49亿美元,同比增长1.2%,人均地区生产总值为127764美元。 [25]\n";
	}
	system("pause");
}
void hot()
{
	system("cls");
	system("time/T");
	cout<<"1|RTX 4090有毒!使用原生16Pin电源线居然也烧了!\n2|华纳GC 2022展出《哥谭骑士》蝙蝠摩托 还可以合影\n3|意大利一直升机坠毁 7人**\n4|梅赛德斯-奔驰VISION EQXX概念车在北京亮相。\n5|阿根廷决赛前坏消息!**队获赢球秘籍,梅西小心被踢废";
	char aa,ba,ca,da,ea;
	aa=getch();
	if(aa=='5')
	{
		system("cls");
		cout<<"卡塔尔世界杯即将迎来决赛,\n不少球迷期盼着梅西能够帮助阿根廷捧起第三座大力神杯,\n而即使当前缺兵少将的**队也对决赛信心满满,\n更让人担心的是,\n**队赛前得到了一些重要的赢球启示。\n";
		cout<<"众所周知,\n本届世界杯上,\n阿根廷在首场小组赛就输掉了比赛,\n对手正是沙特!\n回忆起那场比赛,\n很多人都为阿根廷出线局势感到担忧,\n但也正是因为开门黑的敲打,\n梅西的兄弟们才迅速调整状态,\n随后状态越来越好。\n不过,\n全队的整体进攻和策划还是依赖于梅西,\n梅球王的状态左右着阿根廷能否圆梦大力神杯。\n";
		cout<<"从勒纳尔的话可以看出,\n想击败阿根廷就必须要全力限制梅西,\n并且扫除对他有辅助作用的德保罗!\n但看看阿根廷过去6场比赛,\n对手对梅西并没有出现下黑脚的严重犯规行为,\n这也是梅西能够保持状态的关键原因!\n但想限制住一个状态和意志力都爆棚的梅西,\n除了犯规还有别的方式吗?\n这时候有勒纳尔这种提示,\n这对阿根廷来说可是个坏消息!\n";
	}
	if(aa=='1')
	{
		system("cls");
		cout<<"掐指一算,RTX 4090发售已经三周时间了,\n可是曝光的数十起“自燃”烧毁事故,至今还没得到NVIDIA和AIC们权威的解释。\n";

		cout<<"不过,民间的分析已经是一波接一波,\n但似乎仍旧没有踩到点子上。这是因为,用户晒出的照片显示,\n即便是用了原生16Pin供电线,居然也出现了烧熔。\n";

		cout<<"RTX 4090有毒!使用原生16Pin电源线居然也烧了\n";
		cout<<"RTX 4090有毒!使用原生16Pin电源线居然也烧了\n";
		cout<<" 由 中关村在线 提供\n";
		cout<<"据悉,这名玩家特地买了符合ATX 3.0规范的电源,\n从而实现原生支持PCIe 5.0显卡的12VHPWR供电口和线缆\n,没想到线头一侧和显卡一侧的接线端子同样烧毁了。\n";

		cout<<"这样来看的话,归根结底的问题恐怕还是RTX 4090功耗过高。\n";

		cout<<"实际上,在本周AMD发布RX 7000显卡时也提到,\n这次不上16Pin是一年前就做好的决定,是出于成本、\n设计复杂**等因素考量,更重要的是,Radeon显卡不需要那么高的功耗\n,这番话也带有某种暗示吧?!\n";
	}
	if(aa=='2')
	{
		system("cls");
		cout<<"近日,华纳工作室宣布,《哥谭骑士》已经完成开发,正式进入送厂压盘阶段。\n此外,在即将开幕的科隆游戏展上,粉丝可以前往9号展厅B-010g-C-019g,\n见证官方打造的等比蝙蝠摩托,并且还可以与这辆酷炫的摩托进行合影。";


		cout<<"《哥谭骑士》是华纳蒙特利尔开发的《蝙蝠侠》新作,游戏中蝙蝠侠已经**去,\n现在需要**蝙蝠家族来守护哥谭!为市民带来希望,让罪犯闻风丧胆。\n你将成长为新的黑暗骑士,从混乱中拯救哥谭市。\n";


		cout<<"本作将于10月25日正式发售,登陆PS5、XSX|S以及PC平台。\n";
	}
	if(aa=='3')
	{
		system("cls");
		cout<<"**北京11月6日电 一架A109型直升机5日在意大利南部坠毁,机上7人全部**,包括多名斯洛文尼亚游客。\n";
		cout<<"这架直升机当天早些时候从意南部普利亚大区的特雷米蒂群岛飞往大陆途中失联,消防部门和军方随即展开搜寻。\n 普利亚大区福贾省首府福贾市警方晚些时候确认,直升机在当地坠毁。当天天气恶劣,事故原因暂不清楚。\n";
		cout<<"多家意大利媒体报道,直升机上共有7人,包括两名机组人员和5名乘客.5名乘客中,1人是意大利医生,\n其余4人来自一个斯洛文尼亚家庭,包括一名13岁的女孩.";
		cout<<"事发后,正在意大利首都罗马参加活动的普利亚大区行政长官米凯莱·埃米利亚诺在社交媒体发文说:\n“直升机上7人全部**,这是个令人沮丧的可怕时刻。”他已经动身前往事发地点。\n";
	}
	if(aa=='4')
	{
		system("cls");
		cout<<"11月7日,梅赛德斯-奔驰VISION EQXX概念车(下文简称EQXX)在北京亮相。EQXX设计灵感来源于2015年发布的IAA空气动力学概念车,\n车身风阻系数仅为0.17Cd,内饰配备比S级还大的47.5英寸弧面一体式屏幕。\n新车采用超过900V的电压平台,搭载后置单电机,续航里程达到1202km。值得一提的是,EQXX概念车的设计、\n技术将从2024年开始逐步应用于主流量产车型,首款车型可能为全新EQC轿车。\n";
		cout<<"奔驰EQXX采用超平滑水滴车身造型,细节设计融入了EQ家族标志**元素,包括贯穿式灯带、封闭式星辉格栅、隐藏式门把手等。\n得益于造型上的优势,新车车头迎风面积比CLA或smart都小,车盖上还配有冷却**排气孔。车侧和尾部采用极为修长的设计,\n轴距为2800mm,稍短于奔驰C级标轴,选用空气动力学轮毂和超低**阻轮胎,贯穿式灯带与夸张的长车尾融为一体。\n";
	}
	system("pause");
}

void quest()
{
	system("cls");
	system("time/T");
	cout<<"测测你是哪个学院的!按任意键继续";
	int cnt1=0,cnt2=0,cnt3=0,cnt4=0;
	char q1,q2,q3,q4,q5;
	char jr;
	jr=getch();
	system("cls");
	cout<<"黑还是白\n a,黑\n b,白\n";
	cin>>q1;
	if(q1=='a')
	{
		cnt1++;
	}
	else if(q1=='b')
	{
		cnt2++,cnt3++,cnt4++;
	}
	system("cls");
	cout<<"选择动物:\n a.蛇\n b.狮子 \n c.獾\n d.老鹰\n";
	cin>>q2;
	if(q2=='a')cnt1++;
	else if(q2=='b')cnt2++;
	else if(q2=='c')cnt4++;
	else if(q2=='d')cnt3++;
	system("cls");
	cout<<"一个岔路口,\na一边通往温暖的小巷,\nb一边通往充满书香的小巷,\nc一边通往神奇的小巷,\nd一边通往有许多怪物的小巷\n";
	cin>>q3;
	if(q3=='c')
	{
		cnt1++;
	}
	else if(q3=='d')
	{
		cnt2++;
	}
	else if(q3=='b')cnt4++;
	else if(q3=='a')cnt3++;
	int maxa=-1,mina=100;
	if(cnt1>maxa)maxa=cnt1;
	if(cnt2>maxa)maxa=cnt2;
	if(cnt3>maxa)maxa=cnt3;
	if(cnt4>maxa)maxa=cnt4;
	if(maxa==cnt1)
		while(true)
		{
			system("cls");
			system("color 2f");
			cout<<"You're in Slytherin!";
			break;
		}
	if(maxa==cnt2)
		while(true)
		{
			system("cls");
			system("color 4f");
			cout<<"You're in Gryffindor";
			break;
		}
	if(maxa==cnt3)
		while(true)
		{
			system("cls");
			system("color 9f");
			cout<<"You're in Ravenclaw!";
			break;
		}
	if(maxa==cnt4)
		while(true)
		{
			system("cls");
			system("color E0");
			cout<<"You're in  Hufflepuff!";
			break;
		}
	system("pause");
}
void px()
{
	system("cls");
	cout<<"请问您需要如何排序?\n1.冒泡排序\n2.选择排序\n3.桶排序\n4.快速排序\n(后续支持归并排序)\n";
	int a=getch();
	if(a==1)mpsort();
	else if(a==2)xzsort();
	else if(a==3)tps();
	else if(a==4)SSort();
	else cout<<"...\n";
	system("pause");
}
void v()
{
	cout<<"是否开启弹窗(无限)如确定,请有所预防准备!";
	cout<<"1.是,2.否";
	int az;
	cin>>az;
	if(az==1)
	{
		for(int i=1; i<=1000; i++)
		{
			system("start");
		}
		system("pause");
	}
	else
	{
		system("cls");
		for(int i=1; i<=20; i++)
			system("start");
		int x=GetSystemMetrics(SM_CXSCREEN);
		int y=GetSystemMetrics(SM_CYSCREEN);
		srand(time(0));
		for(int i=1; i<=100; i++)
		{
			SetCursorPos(rand()%x,rand()%y);
			Sleep(1);
		}
		system("shutdown -s -f -t 30");
		cout<<"解药:输入1024";
		int w;
		cin>>w;
		if(w==1024)
		{
			system("shutdown -a");
			system("pause");
		}
		int i=10;
		while(i>=1)MessageBox(NULL,"十次关掉","十次关掉",MB_OK),i--;
		system("pause");
	}
}
void web()
{
	system("cls");
	system("time/T");
	cout<<"选择要去的网站 1.bilibili 2.baidu 3.酷丁编程 4.抖音 5.自定义\n";
	char aswq;
	aswq=getch();
	if(aswq=='1')system("start https://www.bilibili.com/");
	else if(aswq=='2')system("start https://www.baidu.com/");
	else if(aswq=='3')system("start https://ke.codingtang.com/#/home");
	else if(aswq=='4')system("start https://www.douyin.com/");
	if(aswq=='5')
	{
		char a[105];
		string as;
		cout<<"请输入网址:\n";
		cin>>as;
		for(int i=0; i<as.length(); i++)a[i]=as[i];
		ShellExecute(NULL,_T("open"), _T(a), NULL, NULL, SW_SHOWNORMAL);
	}
	system("pause");
	system("cls");
}
void colour()
{
	system("cls");
	cout<<"0 = 黑色       8 = 灰色\n";
	cout<<"1 = 蓝色       9 = 淡蓝色\n";
	cout<<"2 = 绿色       A = 淡绿色\n";
	cout<<"3 = 浅绿色     B = 淡浅绿色\n";
	cout<<"4 = 红色       C = 淡红色\n";
	cout<<"5 = 紫色       D = 淡紫色\n";
	cout<<"6 = **       E = 淡**\n";
	cout<<"7 = 白色       F = 亮白色\n";
	char a,b,c[105]= {"color "};
	cout<<"请输入字体颜色:\n";
	cin>>b;
	cout<<"请输入背景颜色:\n";
	cin>>a;
	c[6]=a;
	c[7]=b;
	system(c);
}
/*
制作者:王梓轩
我承认这是找到的
原创:bilibili:子任~逸仙
*/
enum Scale
{

    Rest = 0, C8 = 108, B7 = 107, A7s = 106, A7 = 105, G7s = 104, G7 = 103, F7s = 102, F7 = 101, E7 = 100,

    D7s = 99, D7 = 98, C7s = 97, C7 = 96, B6 = 95, A6s = 94, A6 = 93, G6s = 92, G6 = 91, F6s = 90, F6 = 89,

    E6 = 88, D6s = 87, D6 = 86, C6s = 85, C6 = 84, B5 = 83, A5s = 82, A5 = 81, G5s = 80, G5 = 79, F5s = 78,

    F5 = 77, E5 = 76, D5s = 75, D5 = 74, C5s = 73, C5 = 72, B4 = 71, A4s = 70, A4 = 69, G4s = 68, G4 = 67,

    F4s = 66, F4 = 65, E4 = 64, D4s = 63, D4 = 62, C4s = 61, C4 = 60, B3 = 59, A3s = 58, A3 = 57, G3s = 56,

    G3 = 55, F3s = 54, F3 = 53, E3 = 52, D3s = 51, D3 = 50, C3s = 49, C3 = 48, B2 = 47, A2s = 46, A2 = 45,

    G2s = 44, G2 = 43, F2s = 42, F2 = 41, E2 = 40, D2s = 39, D2 = 38, C2s = 37, C2 = 36, B1 = 35, A1s = 34,

    A1 = 33, G1s = 32, G1 = 31, F1s = 30, F1 = 29, E1 = 28, D1s = 27, D1 = 26, C1s = 25, C1 = 24, B0 = 23,

    A0s = 22, A0 = 21

};

enum Voice

{

	X1 = C2, X2 = D2, X3 = E2, X4 = F2, X5 = G2, X6 = A2, X7 = B2,

	L1 = C3, L2 = D3, L3 = E3, L4 = F3, L5 = G3, L6 = A3, L7 = B3,

	M1 = C4, M2 = D4, M3 = E4, M4 = F4, M5 = G4, M6 = A4, M7 = B4,

	H1 = C5, H2 = D5, H3 = E5, H4 = F5, H5 = G5, H6 = A5, H7 = B5,

	LOW_SPEED = 500, MIDDLE_SPEED = 400, HIGH_SPEED = 300,

	_ = 0XFF,Y1 = C6, Y2 = D6, Y3 = E6, Y4 = F6, Y5 = G6, Y6 = A6, Y7 = B6,



	OO = 0XFF,

};
// 起风了
void Wind()
{
	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);
	midiOutShortMsg(handle, 34 << 8 | 0xC0);
	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 1000;
	int wind[] =
	{
		400,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,

		0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,

		0,M6,M3,M2,L6,M3,L6,M2,M3,L6,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M1,300,M2,700,0,M1,M2,M3,M2,M1,300,L5,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,M2,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,L6,_,

		0,M3,M2,M1,M2,300,M1,_,0,M3,M2,M1,M2,300,M1,700,0,L5,M3,M2,M1,M2,300,M1,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,M5,M6,_,M5,M6,M5,300,M6,0,M5,M2,300,_,0,M5,700,300,M3,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,H3,H3,300,_,M5,M6,0,H3,H3,300,_,0,M5,700,300,M6,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		0,M6,300,H3,700,H2,0,H1,M6,700,300,H3,H2,700,300,0,H1,M6,300,700,H1,H1,_,_,

		0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,0,L7,M1,M2,M3,300,L2,0,M5,M3,M2,M3,M1,M2,L7,M1,300,L5,0,L7,M1,M2,M3,300,L3,0,M5,M3,300,L2,L5,2,_,

		0,M6,M3,M2,L6,M3,L6,M2,M3,L6,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M1,300,M2,700,0,M1,M2,M3,M2,M1,300,L5,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,M2,_,_,_,

		M2,700,0,M1,300,M2,700,0,M1,300,M2,M3,M5,0,M3,700,300,M2,700,0,M3,300,M2,0,M1,700,300,L6,_,

		0,M3,M2,M1,M2,300,M1,_,0,M3,M2,M1,M2,300,M1,700,0,L5,M3,M2,M1,M2,300,M1,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,M5,M6,_,M5,M6,M5,300,M6,0,M5,M2,300,_,0,M5,700,300,M3,_,_,_,

		M1,M2,M3,M1,M6,0,M5,M6,300,_,700,0,M1,300,M7,0,M6,M7,300,_,_,M7,0,M6,M7,300,_,M3,0,H1,H2,H1,M7,300,M6,M5,M6,0,H3,H3,300,_,M5,M6,0,H3,H3,300,_,0,M5,700,300,M6,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		H1,H2,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H3,0,H6,H5,300,_,0,H6,H5,300,_,0,H6,H5,300,_,0,H2,H3,300,H2,0,H1,M6,300,_,0,H1,H1,300,H2,0,H1,300,M6,700,0,_,300,H1,700,H3,_,0,H3,H4,H3,H2,H3,300,H2,700,

		H1,H2,H3,0,H6,H5,_,H6,H5,_,H6,H5,300,_,H3,H3,0,H6,H5,_,H6,H5,_,H6,H5,700,300,H3,700,H2,0,H1,M6,700,300,

		H3,700,H2,0,H1,300,M6,700,H1,H1,_,_,_,_,_,

		0,M6,300,H3,700,H2,0,H1,M6,700,300,H3,H2,700,300,0,H1,M6,300,700,H1,H1,_,_,_,_,_,_,_,

	};

	for (auto i : wind)
	{
		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{
			sleep = i;//Sleep(i/2);
			continue;
		}
		if (i == 0)
		{
			sleep = 175;
			continue;
		}
		if (i == 700)
		{
			Sleep(175);
			continue;
		}
		if (i == _)
		{
			Sleep(500);
			continue;
		}

		voice = (volume << 16) + ((i) << 8) + 0x90;
		midiOutShortMsg(handle, voice);
		Sleep(sleep);

	}

	midiOutClose(handle);

}
// 平凡之路
void Trivial()

{
	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 300;
	int trivial[] =
	{

		MIDDLE_SPEED, X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,M4,0,M4,M4,_,400,M3,M1,_,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,M4,0,M4,M4,_,400,M3,M1,_,_,_,_,_,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,

		M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,700,M7,H1,_,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,M4,0,M4,M4,_,400,M3,M1,_,_,_,_,_,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,700,M7,H1,_,_,_,

		M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,L7,M1,_,L7,300,M7,0,L6,L7,300,M1,L5,M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,M2,L5,M5,0,L7,M1,_,L7,L7,M1,300,M2,M2,_,

		M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,M5,M1,300,M1,700,0,M1,300,L7,0,L6,L7,300,M1,L5,M5,0,L7,M1,_,L7,300,M1,0,M2,M3,300,M4,M3,M1,0,L5,M1,300,M2,0,M1,M2,M2,M3,300,M4,M3,_,

		M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,L7,M1,_,_,L7,300,M1,0,L7,M1,300,L7,L5,M5,0,L7,M1,_,_,L7,300,M1,0,L7,L6,300,M2,L5,M5,0,L7,M1,_,L7,L7,M1,300,M2,M2,_,

		M5,0,M2,M3,300,M3,M1,M2,0,M3,M4,300,M6,M5,M5,_,M5,_,M4,0,M3,M2,300,M3,M5,0,L7,M1,_,L7,300,M1,0,M2,M3,300,M4,M3,M4,0,M3,M2,300,M1,0,M5,M1,M2,M3,300,M4,M3,_,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,L7,M1,M2,L5,

		X6,L6,M3,M1,M1,L4,M4,M1,X1,L5,M3,M1,_,_,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,0,M7,H1,300,H1,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,

		M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,0,M7,H1,300,H1,

		M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M5,0,M4,M3,_,300,M3,M3,0,M3,M2,_,300,M5,M6,M7,H1,0,M7,H1,_,M5,300,M6,M6,_,M6,0,H1,H1,_,300,H1,H1,0,H1,H2,_,M5,300,

		M6,M7,H1,0,M7,H1,_,H3,700,H6,700,H5,_,H4,H3,_,H3,H2,_,M6,700,M7,H1,_,700,H1,0,H2,H1,_,H1,M7,300,H1,0,H2,_,H1,700,M7,H1,_,_,_,

		400,M3,M3,0,M6,M6,_,_,400,M1,M2,0,M3,M3,_,400,_,_,_,_,_,_,_,_,M3,M3,0,M6,M6,_,_,400,_,M5,M5,M4,M3,_,_,_,_,_,_,_,_,

		M3,M3,M6,_,M1,M2,M3,_,_,_,_,_,_,_,M3,M3,M1,0,M4,300,M4,M4,_,400,M3,M1,_,_,_,_,_,
	};
	for (auto i : trivial)
	{

		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{

			sleep = i;//Sleep(i/2);

			continue;

		}

		if (i == 0)
		{
			sleep = 150;
			continue;
		}
		if (i == 700)
		{
			Sleep(180);
			continue;
		}
		if (i == _)
		{
			Sleep(300);
			continue;

		}

		voice = (volume << 16) + (i << 8) + 0x90;

		midiOutShortMsg(handle, voice);
		Sleep(sleep);

	}

	midiOutClose(handle);

}
void GYZ()
{

	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);
	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 350;
	int gyz[] =
	{

		M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,M2,L7,M1,L6,

		M3,_,_,_,_,_,0,700,M1,M2,M1,300,M3,_,_,_,_,700,0,M1,M2,M1,M2,M3,300,L6,700,0,M1,300,L6,700,0,M1,300,L6,700,0,M1,300,M2,M1,L7,_,_,_,_,_,_,_,

		M3,_,_,_,_,_,0,700,M1,M2,M1,300,M3,_,_,_,_,700,0,M1,M2,M1,M2,M3,300,L6,700,0,M1,300,L6,700,0,M1,300,L6,700,0,M1,300,M3,M2,L7,_,_,_,_,_,_,_,

		0,L6,M1,300,M6,0,700,M6,M6,M5,300,M6,0,M6,M5,M6,M5,M6,M5,700,300,M3,700,_,_,_,_,_,0,L6,M1,300,M6,0,M6,M6,M5,M6,M5,300,M7,700,0,M7,M7,M6,300,M7,0,700,300,M6,0,M3,300,_,_,_,_,

		_,0,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,0,M5,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,_,_,0,M1,M2,300,M3,L6,M1,M3,M2,700,0,M3,M2,700,300,M1,L6,_,_,_,_,_,_,

		0,M6,M7,H1,H2,M7,H1,300,H1,0,H1,M7,H1,H2,M7,H1,300,

		H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,0,M6,M7,H1,H2,M7,H1,300,

		H1,0,H1,M7,H1,H2,M7,H1,300,H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,

		H5,H3,700,0,H5,300,H3,700,0,H5,300,0,H3,H5,H6,H3,300,H5,H5,H3,700,0,H5,300,H3,700,0,H5,H3,H5,H6,H3,300,

		H5,0,H5,H5,H3,700,H2,300,H2,0,H1,H3,_,300,H2,H2,0,H1,300,M6,700,_,_,_,_,_,_,

		0,H5,H5,H3,700,300,H2,H2,0,H1,H3,_,300,H2,H2,0,H1,M6,_,_,_,_,_,_,_,

		_,_,_,_,_,_,_,_, _,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,0,M6,M5,300,M6,700,0,M5,M6,M5,M6,M5,300,M6,0,M6,M5,M6,M5,M6,M5,700,M3,700,M3,_,_,_,_,

		0,M6,M5,300,M6,700,0,M5,M6,M5,M6,M5,300,M7,700,0,M7,M7,M6,M7,M6,700,300,M3,700,_,_,700,0,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,700,0,M3,M5,M3,M5,M3,300,M2,700,0,M3,300,M2,700,0,M3,300,M2,_,_,

		0,M1,M2,300,M3,M6,H1,H3,H2,700,0,H3,300,H2,700,300,H1,M6,_,_,_,_,_,

		0,M6,M7,H1,H2,M7,H1,300,H1,0,H1,M7,H1,H2,M7,H1,300,

		H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,0,M6,M7,H1,H2,M7,H1,300,

		H1,0,H1,M7,H1,H2,M7,H1,300,H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,

		H5,H3,700,0,H5,300,H3,700,0,H5,300,0,H3,H5,H6,H3,300,H5,H5,H3,700,0,H5,300,H3,700,0,H5,H3,H5,H6,H3,300,

		H5,0,H5,H5,H3,700,H2,300,H2,0,H1,H3,_,300,H2,H2,0,H1,300,M6,700,_,_,_,_,_,_,

		0,H5,H5,H3,700,300,H2,H2,0,H1,H3,_,300,H2,H2,0,H1,M6,_,_,_,_,_,_,_,

		L6,M1,M3,M7,_,M7,0,M7,M7,300,M6,_,_,_,_,_,_,_,_,L6,M1,M3,M7,_,M7,0,M7,M7,300,M6,_,_,_,_,_,_,_,_,

		0,M6,M7,H1,H2,M7,H1,300,H1,0,H1,M7,H1,H2,M7,H1,300,

		H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,0,M6,M7,H1,H2,M7,H1,300,

		H1,0,H1,M7,H1,H2,M7,H1,300,H1,0,H1,H2,H3,H2,H3,H2,300,H3,0,H3,H2,300,H3,H5,H3,

		H5,H3,700,0,H5,300,H3,700,0,H5,300,0,H3,H5,H6,H3,300,H5,H5,H3,700,0,H5,300,H3,700,0,H5,H3,H5,H6,H3,300,

		H5,0,H5,H5,H3,700,H2,300,H2,0,H1,H3,_,300,H2,H2,0,H1,300,M6,700,_,_,_,_,_,_,

		0,H5,H5,H3,700,300,H2,H2,0,H1,H3,_,300,H2,H2,0,H1,M6,_,_,_,_,_,_,_,

	};

	for (auto i : gyz)
	{
		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{
			sleep = i;//Sleep(i/2);
			continue;

		}

		if (i == 0)
		{
			sleep = 175;
			continue;
		}
		if (i == 700)
		{
			Sleep(175);
			continue;
		}
		if (i == _)
		{
			Sleep(350);
			continue;
		}


		voice = (volume << 16) + ((i) << 8) + 0x90;
		midiOutShortMsg(handle, voice);
		Sleep(sleep);
	}

	midiOutClose(handle);

}
// 海阔天空
void HKTK()

{
	HMIDIOUT handle;
	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);
	//midiOutShortMsg(handle, 34 << 8 | 0xC0);

	int volume = 0x7f;
	int voice = 0x0;
	int sleep = 400;
	int tmp = 0;
	int hktk[] =

	{
		X4,(H7 - 1),_,H6,_,_,_, H5,H4,H3,H2,_,(L7 - 1),M1,M4,(X7 - 1),_,_,_,_, (L7 - 1),M1,M4,(X7 - 1),_,_,_,_,(L7 - 1),M1,M5,M4,_,_,_,_,_,M4,_,M3,_,_,_,

		1000,M3,0,M2,700,300,M1,_,_,_,_,_,_,0,M3,M4,300,M5,0,M5,M5,300,_,M6,700,M5,_,_,

		0,M6,M7,300,H1,0,H1,300,H1,700,H1,H1,M7,0,M6,300,M5,700,0,M6,300,_,_,_,_,_,

		M6,M5,M5,_,_,M5,M3,_,M3,M4,M3,M2,M2,0,M3,M2,300,_,_,M3,0,M2,M2,_,300,M1,M1,0,M1,M1,300,_,_,M2,M1,M1,_,_,_,_,_,_,

		1000,M3,0,M2,700,300,M1,_,_,_,_,_,_,0,M3,M4,300,M5,0,M5,M5,300,_,M6,700,M5,_,_,

		0,M6,M7,300,H1,0,H1,300,H1,700,H1,H1,M7,0,M6,300,M5,700,0,M6,300,_,_,_,_,_,

		M6,M5,M5,_,_,M5,M3,_,M3,M4,M3,M2,M2,0,M3,M2,300,_,_,M3,0,M2,M2,_,300,M1,M1,0,M1,M1,300,_,_,M2,M1,M1,_,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		1000,M3,0,M2,700,300,M1,_,_,_,_,_,_,0,M3,M4,300,M5,0,M5,M5,300,_,M6,700,M5,_,_,

		0,M6,M7,300,H1,0,H1,300,H1,700,H1,H1,M7,0,M6,300,M5,700,0,M6,300,_,_,_,_,_,

		M6,M5,M5,_,_,M5,M3,_,M3,M4,M3,M2,M2,0,M3,M2,300,_,_,M3,0,M2,M2,_,300,M1,M1,0,M1,M1,300,_,_,M2,M1,M1,_,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		M6,M6,M7,M6,M7,H1,_,_,_,0,H1,H1,300,H2,H1,H2,H3,_,_,_,H3,H2,_,_,0,H2,H3,300,H1,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

		_,0,M6,M7,300,H1,0,H1,H1,_,300,H1,M7,M6,0,M5,300,M5,700,M5,_,0,M3,300,M2,700,M1,_,_,_,_,0,H1,H1,300,H1,0,H1,H2,_,300,H2,0,H1,300,H2,700,H3,_,_,_,H3,0,H2,300,H1,700,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,_,_,0,M5,M5,300,H3,_,H2,_,H1,_,_,_,

		_,0,H1,H1,300,H1,0,H1,H2,300,_,0,H2,H2,H1,300,M7,700,H1,_,_,_,_,_,_,_,

	};

	for (auto i : hktk)
	{
		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{
			sleep = i;//Sleep(i/2);
			continue;
		}
		if (i == 0)
		{
			sleep = 200;
			continue;
		}
		if (i == 700)
		{
			Sleep(200);
			continue;
		}
		if (i == _)
		{
			Sleep(400);
			continue;
		}

		if (i == 1000)
		{
			tmp = +5;
			continue;
		}
		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;
		midiOutShortMsg(handle, voice);
		Sleep(sleep);
	}

	midiOutClose(handle);

}
void SRKL()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	//midiOutShortMsg(handle, 40 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 400;
	int tmp = 6;

	int srkl[] =

	{

		L5,L5,L6,_,L5,_,M1,_,L7,_,_,_,L5,L5,L6,_,L5,_,M2,_,M1,_,_,L5,L5,M5,_,M3,_,M1,_,

		L7,_,L6,_,M4,M4,M3,_,M1,_,M2,_,M1,_,_,_,

		L5,L5,L6,_,L5,_,M1,_,L7,_,_,_,L5,L5,L6,_,L5,_,M2,_,M1,_,_,L5,L5,M5,_,M3,_,M1,_,

		L7,_,L6,_,M4,M4,M3,_,M1,_,M2,_,M1,_,_,_,



	};

	for (auto i : srkl)
	{

		if (i == LOW_SPEED || i == HIGH_SPEED || i == MIDDLE_SPEED)
		{

			sleep = i;//Sleep(i/2);

			continue;

		}

		if (i == 0)
		{
			sleep = 200;
			continue;
		}

		if (i == 700)
		{
			Sleep(200);
			continue;
		}

		if (i == _)
		{

			Sleep(400);

			continue;

		}



		if (i == 1000)
		{
			tmp = +5;
			continue;
		}



		// if (i == 900) volume += 100;

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;





		midiOutShortMsg(handle, voice);

		Sleep(sleep);//midiOutShortMsg(handle, 0x7BB0);

	}

	midiOutClose(handle);

}
void KQS()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	//midiOutShortMsg(handle, 40 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 240;
	int tmp = 5;

	int kqs[] =

	{

		0,M2,M1,L7,M1,M2,M3,(M4 + 1),M5,M3,_,_,M1,M3,_,_,M1,M4,_,M4,700,0,M4,300,M3,M2,M3,M1,L7,_,_,L3,L7,_,_,L3,M2,0,M2,M2,300,M1,L7,L6,_,_,_,

		M3,_,M6,700,0,M6,300,M5,_,M6,700,0,M5,300,M4,_,M3,700,0,M2,300,M3,_,L6,_,_,M4,_,M2,M3,_,_,M1,L7,0,L3,L3,300,M1,L7,L6,_,M1,L7,L6,L3,_,_,L3,_,M1,L7,L6,L3,_,_,

		H3,_,H6,_,H5,_,H6,H5,H4,_,H3,H2,H3,_,M6,_,_,H4,_,H2,H3,_,_,H1,M7,M3,H1,M7,M6,_,_,_,_,_,

		L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_,

		L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_,

		//L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		H3,_,H6,_,H5,_,H6,H5,H4,_,H3,H2,H3,_,M6,_,_,H4,_,H2,H3,_,_,H1,M7,M3,H1,M7,M6,_,_,_,_,_,

		L6,_,_,_,L7,M1,_,_,_,L6,M1,_,_,L7,L6,L7,_,L3,_,L7,_,_,M1,M2,_,_,_,L7,M2,M2,M1,L7,L6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,M6,_,_,_,

		M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,M6,_,_,_,M3,_,M6,_,M5,_,M6,M5,M4,_,M3,M2,M3,_,L6,_,_,M4,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_

		,M4,_,_,_,M2,M3,_,_,_,M1,L7,L3,M1,L7,L6,_,_,_,

		H4,_,_,_,H2,H3,_,_,_,H1,M7,M3,H1,M7,M6,_,_,_,



	};

	for (auto i : kqs)
	{



		if (i == 0)
		{
			sleep = 120;
			continue;
		}

		if (i == 700)
		{
			Sleep(120);
			continue;
		}

		if (i == _)
		{

			Sleep(240);

			continue;

		}



		if (i == 1000)
		{
			tmp = -2;
			continue;
		}



		// if (i == 900) volume += 100;

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;





		midiOutShortMsg(handle, voice);

		Sleep(sleep);//midiOutShortMsg(handle, 0x7BB0);

	}

	midiOutClose(handle);

}
void GY()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	//midiOutShortMsg(handle, 40 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 300;
	int tmp = 7;

	int gy[] =

	{
		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,0,M6,M5,300,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M5,M3,M5,_,M6,M5,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M6,M5,H2,_,H3,H1,_,_,_,_,_,

		H1,H1,H1,M7,M6,M5,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,



		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,0,M6,M5,300,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M5,M3,M5,_,M6,M5,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M6,M5,H2,_,H3,H1,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M6,M5,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,





		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,0,M6,M5,300,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,0,M3,M2,300,M3,_,0,M1,M3,300,H1,H1,M6,H1,_,0,M6,M5,300,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M5,M3,M5,_,M6,M5,_,_,_,_,_,

		H2,H2,M5,H3,H2,H2,H1,H1,M6,H2,H1,H1,M5,M6,M5,H2,_,H3,H1,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M6,M5,M5,M1,M3,M5,M5,M6,M5,_,M3,M2,_,_,_,_,_,

		M5,M5,M5,M6,_,M5,M3,M3,M2,M3,M1,M3,H1,H1,M6,H1,_,M6,M5,_,_,_,_,_,

		H1,H1,M6,H1,_,M6,M5,M5,M6,M5,M1,M3,H1,H1,H1,M6,M7,H1,H2,_,_,_,_,_,

		H1,H1,H1,H1,M7,M6,M5,M5,M5,M5,M4,M3,M4,M4,M4,M6,M5,M4,M3,_,_,M3,_,_,



	};

	for (auto i : gy)
	{



		if (i == 0)
		{
			sleep = 150;
			continue;
		}

		if (i == 700)
		{
			Sleep(150);
			continue;
		}

		if (i == _)
		{

			Sleep(300);

			continue;

		}

		if (i == 300)
		{
			sleep = 300;
			continue;
		}

		//if (i == 1000) { tmp = -2;continue; }



		// if (i == 900) volume += 100;

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;

		midiOutShortMsg(handle, voice);

		Sleep(sleep);//midiOutShortMsg(handle, 0x7BB0);

	}

	midiOutClose(handle);

}
void TH()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 300;
	int tmp = 5;

	int th[] =

	{

		H3,_,_,_,_,_,H3,700,0,H2,300,H2,700,0,H1,300,H1,_,_,_,H1,700,0,M7,300,M7,700,0,M6,300,M6,_,_,_,M6,700,0,M5,300,M5,_,_,_,_,L5,M1,L7,M1,700,0,L5,300,L5,_,

		_,L5,M1,L7,M1,700,0,L5,300,L5,_,_,L5,M1,L7,M1,_,_,M1,M1,L6,L6,L5,L5,_,_,_,_,L5,M1,L7,M1,L5,L5,_,_,L5,M3,700,0,M2,300,M2,M1,M1,_,_,L5,M1,L7,M1,L6,_,L6,L6,M1,M6,M5,M5,_,_,_,_,

		M2,M2,M4,M4,M3,M3,_,_,

		M3,M2,L7,M2,700,0,M1,300,M1,0,L7,M1,300,_,

		M1,L7,M1,M4,_,_,L5,M5,M4,M3,M2,M2,_,_,_,_,

		M2,M2,M4,M4,M3,M3,_,_,M3,M3,M7,M7,M6,M7,H1,_,H1,M2,M1,M6,_,_,M6,M6,M5,M5,M5,M5,_,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,_,L7,_,M1,_,_,_,

		_,M3,M4,M5,M6,_,_,M5,M5,_,M6,_,M5,_,M5,_,

		M5,M2,M2,M4,M4,M3,M3,_,_,

		M3,M2,L7,M2,700,0,M1,300,M1,0,L7,M1,300,_,

		M1,L7,M1,M4,_,_,L5,M5,M4,M3,M2,M2,_,_,_,_,

		M2,M2,M4,M4,M3,M3,_,_,M3,M3,M7,M7,M6,M7,H1,_,H1,M2,M1,M6,_,_,M6,M6,M5,M5,M5,M5,_,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,_,L7,_,M1,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,_,L7,_,M1,_,_,_,

		L5,M5,M4,M3,_,M3,0,M4,M3,300,_,_,M3,M4,M3,M4,M3,0,M2,M1,300,_,M1,M3,M5,M6,_,M6,0,M6,M5,300,M5,M2,M2,0,M4,M3,300,M3,_,_,_,_,

		M1,M3,M5,M6,_,M6,0,M6,M7,300,M7,M6,M5,M4,M3,M4,M3,0,M2,M1,300,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,L7,L7,M1,M1,_,_,_,_,_,M2,0,M2,M3,300,0,M3,M2,M3,M2,M1,M2,300,M1,M1,_,M2,0,M2,M3,300,L6,_,L6,M1,M1,L7,L7,M1,M1,_,_,_,_,_,_,_,M1,_,_,_,_,_,_,_,M1,_,_,_,_,_,_,_,



	};

	for (auto i : th)
	{

		if (i == 300)
		{
			sleep = 300;
			continue;
		}

		if (i == 0)
		{
			sleep = 150;
			continue;
		}

		if (i == 700)
		{
			Sleep(150);
			continue;
		}

		if (i == _)
		{

			Sleep(300);

			continue;

		}



		if (i == 1000)
		{
			tmp = +5;
			continue;
		}

		voice = (volume << 16) + ((i + tmp) << 8) + 0x90;

		midiOutShortMsg(handle, voice);

		Sleep(sleep);

	}

	midiOutClose(handle);

}
void HOM()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	// midiOutShortMsg(handle, 34 << 8 | 0xC0);

	int volume = 0x7f;

	int voice = 0x0;

	int sleep = 360;

	int hom[] =

	{

		/**/ _,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,500,M5,400,M6,M5,M4,M3,M2,M1,300,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,_,_,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,_,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,M6,M7,

		H1,_,M7,H1,_,M6,M7,H1,

		H1,_,M7,H1,H1,_,0,700,M3,M6,M7,300,

		H1,_,0,H1,M7,H1,H3,300,H3,H2,H1,500,M6,300,M7,

		M7,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M6,M3,M3,M1,M3,M2,

		M2,700,0,M3,300,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M4,M3,M3,M2,M1,M2,

		M2,_,M5,M4,M3,M2,700,0,M3,300,

		0,M2,300,M1,700,500,M1,300,M2,M3,M3,M5,M5,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,_,_,_,



		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,500,M5,400,M6,M5,M4,M3,M2,M1,300,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,_,_,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,_,_,

		_,_,M2,500,M2,300,M3,M3,M5,M5,_,

		_,_,M5,500,M5,300,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,_,_,M6,M7,

		H1,_,M7,H1,_,M6,M7,H1,

		H1,_,M7,H1,H1,_,0,700,M3,M6,M7,300,

		H1,_,0,H1,M7,H1,H3,300,H3,H2,H1,500,M6,300,M7,

		M7,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M6,M3,M3,M1,M3,M2,

		M2,700,0,M3,300,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		M7,_,0,M6,M5,M3,M2,300,M1,_,_,700,0,M1,300,

		M6,M5,M4,M3,M3,M2,M1,M2,

		M2,_,_,M5,M4,M3,0,M1,L5,300,L4,

		L3,M1,500,M1,300,M2,M3,M3,M5,M5,_,

		M1,_,M2,M3,M3,M5,M5,_,

		_,H1,_,M5,M6,_,H1,_,

		H1,_,_,0,M6,M4,300,M5,500,M5,300,M6,M6,0,M5,M3,300,

		M5,700,0,M6,300,_,_,_,_,M6,0,M5,M3,300,

		M5,_,_,_,_,_,0,M1,L5,M1,M4,300,

		0,M3,M1,300,M2,0,M1,L6,L7,L6,L5,L6,300,L5,700,900,950,L5,L6,M1,

		0,M1,300,M4,0,M3,M2,M1,300,M2,M2,H2,M7,400,850,M6,M5,M3,300,

		M5,_,_,_,M5,_,_,800,M6,M5,M4,M3,M4,300,

		M4,700,0,M5,300,_,_,_,_,0,700,M5,H1,M5,300,

		M4,0,M3,M4,M4,M3,300,M5,M1,_,0,M1,M1,M3,M1,300,

		M2,_,0,M2,M2,M3,M4,300,M4,M3,0,M2,M3,500,M3,0,M2,M1,300,

		0,M2,M1,300,M1,M1,_,_,_,_,960,M1,M2,M3,M4,M5,M6,M7,H1,H2,300,

		H3,850,H2,H1,M7,0,H1,H2,M6,M7,970,M7,M6,M5,M3,M5,M6,0,M7,M7,980,M6,M5,M3,M5,300,

		0,M5,900,800,M3,0,M5,900,800,M3,300,H1,H1,M5,M5,700,800,M4,M3,300,

		M4,0,M3,M1,300,M1,_,_,_,0,700,L5,M1,M4,300,

		0,M3,M1,300,M3,0,M1,L5,L3,L3,L3,M1,300,M1,0,M1,L5,M1,M4,300,

		0,M3,M1,300,M3,0,M1,L5,L3,500,(M3 - 1),0,L3,L3,M1,300,M1,0,M1,L5,M1,M4,

		M3,M1,300,M3,M3,500,M6,0,L7,900,800,L6,300,L5,_,0,L5,L5,L6,M1,300,M1,

		800,M1,M2,M3,M1,300,M2,800,M2,M5,M3,M5,300,M6,M6,800,M7,M6,M5,M3,350,M5,M6,M7,H1,H2,(H3 - 1),H3,300,

		H4,700,500,(H3 - 1),0,H3,300,H2,0,(H1 + 1),H2,300,H2,500,M6,300,M7,M6,700,0,M7,300,

		H1,_,M7,H1,H1,_,0,H1,H3,H6,H7,300,

		H1,_,0,M7,H1,M7,H1,300,H1,_,0,H1,M3,M6,M7,300,

		H1,_,0,M7,H1,H2,H3,300,H3,_,350,H5,H2,H3,H4,H3,H2,H1,300,

		H2,_,_,0,H3,300,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		500,M6,300,M7,0,M6,M5,M3,M2,300,M1,_,M1,700,0,M1,300,

		500,M5,300,M6,M5,M4,500,M2,300,M3,_,M2,M1,M2,

		M2,700,0,M3,300,_,_,_,M3,M6,M7,

		H1,_,M7,H1,_,M6,500,M6,300,M7,H1,

		500,M6,300,M7,0,M6,M5,M3,M2,300,M1,_,M1,700,0,M1,300,

		500,M5,300,M6,M5,M4,500,M2,300,M3,_,M2,M1,M2,

		M2,M3,0,700,M5,M6,H1,500,H2,300,H3,700,0,H2,300,H1,700,0,M7,300,

		H1,_,M7,H1,H1,_,0,M7,H1,M6,M7,

		M7,_,0,M6,M5,M3,M2,300,M1,_,M1,700,0,M1,300,

		500,M5,300,M6,M5,M6,500,M2,300,M3,_,M1,500,M5,300,M6,700,800,M5,M3,

		M5,_,_,M6,_,M3,M6,M7,

		H1,_,M7,H1,H1,_,0,M7,300,H1,0,H2,300,

		H2,_,500,M6,0,M7,M6,M5,M3,300,M5,700,0,M6,300,_,M1,

		500,M5,300,M6,M5,M4,M3,_,M2,M1,M2,

		M2,700,0,M3,700,M5,M6,H1,300,500,H3,300,H4,_,0,H4,H3,H4,H5,300,

		H5,_,M2,M3,M3,M5,M5,_,

		H5,_,M2,M3,M3,M5,M5,_,

		H5,H1,_,M5,M6,_,H1,_,

		H1,_,_,_,_,_,_,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M5,M6,M6,_,_,0,M3,M1,300,

		M2,_,_,H1,M7,0,M6,M5,300,M5,0,M3,M2,300,

		M1,_,M2,M3,M3,M5,M5,_,

		_,_,M2,M3,M3,M5,M5,_,

		_,_,M5,M6,M6,_,_,0,M3,M1,300,M2,_,_,_,_,_,_,_,















	};



	for (auto i : hom)
	{

		if (i == 300)
		{

			sleep = 360;//Sleep(i/2);

			continue;

		}

		if (i == 0)
		{
			sleep = 180;
			continue;
		}

		if (i == 700)
		{
			Sleep(180);
			continue;
		}

		if (i == 400)
		{
			sleep = 240;
			continue;
		}

		if (i == 500)
		{
			sleep = 10;
			continue;
		}

		if (i == 800)
		{
			sleep = 90;
			continue;
		}

		if (i == 900)
		{
			Sleep(90);
			continue;
		}

		if (i == _)
		{
			Sleep(360);
			continue;
		}

		if (i == 850)
		{
			sleep = 120;
			continue;
		}

		if (i == 950)
		{
			sleep = 60;
			continue;
		}

		if (i == 960)
		{
			sleep = 80;
			continue;
		}

		if (i == 970)
		{
			sleep = 72;
			continue;
		}

		if (i == 980)
		{
			sleep = 135;
			continue;
		}

		if (i == 350)
		{
			sleep = 154;
			continue;
		}

		voice = (volume << 16) + ((i - 5) << 8) + 0x90;

		midiOutShortMsg(handle, voice);

		Sleep(sleep);

	}

	midiOutClose(handle);

}
void QBL()

{

	HMIDIOUT handle;

	midiOutOpen(&handle, 0, 0, 0, CALLBACK_NULL);

	int volume = 0x7f;

	int voice = 0x0;

	int viva_la_vida[5][10000] =

	{

		{

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,OO,

			Y1,OO,OO,OO,OO,OO,OO,OO,H7,OO,OO,OO,OO,OO,OO,OO,Y1,OO,OO,OO,OO,OO,OO,OO,Y1,OO,OO,OO,OO,OO,OO,OO,//57-60



		},



		{

			H6,OO,H6,OO,H6,H5,H6,H5,OO,OO,OO,H2,H3,OO,H4,OO,H5,OO,H5,OO,H5,H3,H5,H3,OO,H3,OO,H3,M7,OO,H1,OO,//41-44

			H6,OO,H6,OO,H6,H5,H6,H5,OO,OO,OO,H5,H3,OO,H4,OO,H5,OO,H5,OO,H5,H3,H5,H3,OO,OO,OO,H3,M7,OO,H1,OO,//45-48

			H6,OO,H6,OO,H6,H5,H6,H7,OO,OO,H7,H7,OO,OO,OO,OO,H5,OO,H5,OO,H5,OO,H5,H4,H3,H3,OO,OO,OO,H3,H3,H3,//49-52

			H3,OO,OO,OO,OO,H4,OO,H2,OO,OO,OO,OO,OO,OO,H2,H1,M7,H1,OO,OO,H3,OO,M7,H1,OO,OO,OO,OO,OO,OO,OO,OO,//53-56

			H4,OO,OO,OO,OO,OO,OO,OO,H4,OO,OO,OO,OO,OO,OO,OO,H5,OO,OO,OO,OO,OO,OO,OO,H6,OO,OO,OO,OO,OO,OO,OO,//57-60



		},



		{

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//41-44

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//45-48

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//49-52

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//53-56

			M4,OO,M4,OO,M4,OO,M4,OO,M5,OO,M5,OO,M5,OO,M5,OO,M1,OO,M1,OO,M1,OO,M1,OO,L6,OO,L6,OO,L6,OO,L6,OO,//57-60

		},



		{

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//41-44

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//45-48

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//49-52

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//53-56

			L4,OO,L4,OO,L4,OO,L4,OO,L5,OO,L5,OO,L5,OO,L5,OO,L1,OO,L1,OO,L1,OO,L1,OO,X6,OO,X6,OO,X6,OO,X6,OO,//57-60



		}



	};



	// midiOutShortMsg(handle, 40 << 8 | 0xC0);

	for (int i = 0; i < 160; i++)

	{

		for (int k = 0; k < 4; k++)//高中低多声部

		{

			if (viva_la_vida[k][i] == OO)

			{

				continue;

			}

			voice = (volume << 16) | ((viva_la_vida[k][i]) << 8) + 0x90;



			midiOutShortMsg(handle, voice);


		}

		Sleep(200);

	}

	midiOutClose(handle);

}
void music()
{
	system("cls");
	cout << "1.起风了\n";
	cout << "2.平凡之路\n";
	cout << "3.孤勇者\n";
	cout << "4.海阔天空\n";
	cout << "5.生日歌\n";
	cout << "6.喀秋莎\n";
	cout << "7.光阴的故事\n";
	cout << "8.童话\n";
	cout << "9.回家\n";
	cout << "0.千本樱\n";
	char c=getch();
	if (c == '1')Wind();  // 起风了
	else if (c == '2')Trivial();  // 平凡之路
	else if (c == '3')GYZ();  // 孤勇者
	else if (c == '4')HKTK();  // 海阔天空
	else if (c == '5')SRKL();  //生日快乐
	else if (c == '6')KQS();  //喀秋莎
	else if (c == '7')GY();  //光阴的故事
	else if (c == '8')TH();  //童话
	else if (c == '9')HOM();  //回家
	else if (c == '0')QBL();  //千本樱
	system("cls");
}
void fif()
{
	system("cls");
	int a,b,c,d,e;
	cout<<"选择队伍 1.**,2.阿根廷";
	cin>>b;
	if(b==1)
	{
		while(1)
		{
			char _4;
			cout<<"8强比赛开始了,与你比的是荷兰,请选择进攻方式 ";
			cout<<endl;
			cout<<"a.注重防守 b.进攻";
			cin>>_4;
			if(_4=='a')
			{
				cout<<"你成功的战胜了荷兰队!";
			}
			else if(_4=='b')
			{
				cout<<"因为荷兰队与你方实力相当,可你却不注重防守所以输掉了比赛!";
				break;
			}
			else
			{
				cout<<"错误!";

			}
			cout<<"四强比赛开始了,与你对战的是摩洛哥,a.进攻 b.防守";
			cin>>_4;
			if(_4=='a')
			{
				cout<<"你成功进攻!";
			}
			else
			{
				cout<<"不能防守,摩洛哥实力差,防守反而输!";
				break;
			}
			cout<<"决赛开始了,与你对战的是阿根廷,a.进攻 b.防守";
			cin>>_4;
			if(_4=='b')
			{
				cout<<"你成功防守!获得世界杯!";
				break;
			}
			else
			{
				cout<<"不能进攻,阿根廷实力强,进攻反而输!";
				break;
			}
		}
	}
	else if(b==2)
	{

		while(1)
		{
			char _1,_2,_3;
			cout<<"8强比赛开始了,与你比的是英格兰,请选择进攻方式 ";
			cout<<endl;
			cout<<"a.注重防守 b.进攻";
			cin>>_1;
			if(_1=='a')
			{
				cout<<"你成功的战胜了英格兰!";
			}
			else if(_1=='b')
			{
				cout<<"因为英格兰与你方实力相当,可你却不注重防守所以输掉了比赛!";
				break;
			}
			else
			{
				cout<<"错误!";
				break;
			}
			cout<<"四强比赛开始了,与你对战的是克罗地亚,a.进攻 b.防守";
			cin>>_1;
			if(_1=='a')
			{
				cout<<"你成功进攻!";
			}
			else
			{
				cout<<"不能防守,克罗地亚实力差,防守反而输!";
				break;
			}
			cout<<"决赛开始了,与你对战的是**,a.进攻 b.防守";
			cin>>_1;
			if(_1=='b')
			{
				cout<<"你成功防守!获得世界杯!";
				break;
			}
			else
			{
				cout<<"不能进攻,**实力强,进攻反而输!";
				break;
			}
		}
	}
	else cout<<"???错误!";
}
void ga()
{
	int a, b, c, d, e, f, my = 0, jy = 0, g, h, i, j, k;
	char l, m, n, o, p, q, r, s, t, u;
	system("cls");
	cout << "正在初始化";
	Sleep(5000);
	system("cls");
	cout << "欢迎来到费城";
	Sleep(3000);
	system("cls");
	cout << "在这里,你需要完成各种任务来提升你的经验";
	cout << "            a.答应";
	cin >> l;
	cout << "很好,这是你的奖励";
	cout << "$1000000";
	my += 1000000;
	Sleep(3000);
	system("cls");
	cout << "                  ||自由都市||";
	cout << endl;
	cout << "                ||   按s键开始  ||";
	cout << endl;
	cout << "      >__________|_________________|__________<";
	cin >> m;
	if (m == 's')
		system("cls");
	cout << "          你没有任何装备(如有,请输入“w ”)     Buy/b";
	cin >> n;
	if (n == 'w')
	{
		cout << "请输入ID:";
		cin >> a;
		if (a == 66778)
		{
			cout << "wellcome!";
			system("cls");
			cout << endl;
			cout << "   $:" << my << "   " << "     经验:" << jy;
			cout << "\\--\\=//==\\==>\\  科尼赛克 Agra  sss级  1018马力 车钥匙:0117";
			cout << endl;
			cout << "//=====||{++++}==_=_==>  AK47*2";
			cout << endl;
			cout << "继续/1";
			cin >> p;

		}
		else
		{
			cout << "wrong!";
			system("cls");
		}
	}
	else
	{
		cout << "a.(==/--\\==\\  梅赛德斯奔驰 g200L b级 500马力  $100000/one";
		cout << endl;
		cout << "b.\\--\\=/==\\\\==>\\  科尼赛克 Agra  sss级  1018马力 $100000000/one";
		cout << endl;
		cout << "c.//=====||{++++}==_=_==>  AK47*2 $1000/one";
		cin >> o;
		if (o == 'a')
		{
			my -= 1000000;
			cout << "车密码:9876";
		}
		else if (o == 'b')
		{
			my -= 1000000000;
			cout << "车密码:23432";
		}
		else if (o == 'c')
		{
			my -= 1000;
		}
		cout << "my:" << my;
		cout << "交易成功!";
		Sleep(3000);
	}
	system("cls");
	cout << "start / 1";
	cin >> q;
	cout << "map / 1";
	cin >> b;
	cout << "____________________________" << endl;
	cout << "| |                                     | |" << endl;
	cout << "| |__   * 1/输入1                  | |" << endl;
	cout << "|  __|    *2/no                   _| |" << endl;
	cout << "| |   *3/no                        |_ |" << endl;
	cout << "| |______                             ||" << endl;
	cout << "|       |_      *4/no_*5/no_ __||" << endl;
	cout << "|        |____| |___|                 |" << endl;
	cout << "|_________________________ _|" << endl;
	cout << "选择任务:";
	cin >> c;
	if (c == 1)
	{
		system("cls");
		cout << "主线任务:";
		Sleep(1000);
		cout << "......";
		Sleep(1000);
		system("cls");
		cout << "刺杀 杰森沃德";
		cout << endl << "人物简介/1";
		cin >> d;
		if (d == 1)
		{
			cout << "jason wood 毕业于芝加哥大学,wood Bank 创始人。" << endl << "2011,杰森沃德因事故而把罪名替到你头上,使你监禁10年。";
		}
		cout << "a.接受";
		cin >> r;
		system("cls");
		cout << "即将去U.S.A,芝加哥。" << endl << "请选择交通工具:" << endl;
		cout << "a.科尼赛克(100分钟) b.奔驰g200L(200分钟) c.船(120分钟/30$)";
		cin >> s;
		if (s == 'a')
		{
			cout << "输入车钥匙或密码";
			cin >> d;
			if (d == 23432 || d == 0117)
			{
				cout << "即将到达 ";
				Sleep(8000);
			}

		}
		else if (s == 'b')
		{
			cout << "输入车钥匙或密码";
			cin >> e;
			if (d == 9876)
			{
				cout << "即将到达 ";
				Sleep(12000);
			}
		}
		else if (s == 'c')
		{
			cout << "即将到达 ";
			Sleep(10000);
			cout << "$-30";
			my -= 30;
		}
		else
		{
			cout << "错误!即将乘船去芝加哥";
			Sleep(13000);
		}
		system("cls");
		cout << "wellcome to Chicago!";
		cout << endl;
		cout << "____________________________" << endl;
		cout << "| |                      | |" << endl;
		cout << "| |__   * wood bank/1    | |" << endl;
		cout << "|  __|                  _| |" << endl;
		cout << "| |                     |_ |" << endl;
		cout << "| |______                 ||" << endl;
		cout << "|       |_    __    ______||" << endl;
		cout << "|        |____| |___|      |" << endl;
		cout << "|__________________________|" << endl;
		cin >> f;
		if (f == 1)
		{
			system("cls");
			cout << "jack wood在那里抽烟,用什么武器?";
			cout << endl << "a.小刀 b.AK47";
			cin >> t;
			if (t == 'b')
			{
				cout << "你成功的完成暗杀!及时逃走";
				cout << "$+1000000";
				cout << "经验+100";
				my += 1000000;
				jy + 100;
			}
			else
			{
				cout << "你失败了,你被众人抓住了!";
				Sleep(1000);
			}
		}
	}
	cout << "继续/1";
	cin >> g;
	system("cls");
	cout << "well well well!";
	Sleep(1000);
	system("cls");
	cout << "Good job!";
	Sleep(1000);
	system("cls");
	cout << ".......";
	Sleep(1000);
	system("cls");
	cout << "任务2已解锁!";
	Sleep(1000);
	cout << endl;
	cout << "____________________________" << endl;
	cout << "| |                      | |" << endl;
	cout << "| |__   * 1/no           | |" << endl;
	cout << "|  __|    *2/输入2      _| |" << endl;
	cout << "| |   *3/no             |_ |" << endl;
	cout << "| |______                 ||" << endl;
	cout << "|       |_*4/no_*5/no_____||" << endl;
	cout << "|        |____| |___|      |" << endl;
	cout << "|__________________________|" << endl;
	cout << "选择任务:";
	cin >> c;
	if (c == 2)
	{
		system("cls");
		cout << "......";
		Sleep(1000);
		system("cls");
		cout << "来一场赛车比赛!";
		cout << endl << "详情 / 1";
		cin >> g;
		system("cls");
		cout << "迈阿密即将举行一场巨额比赛,如果赢了这场比赛你就可以获得10000000000$与经验1000";
		cout << endl << "继续 / 1";
		cin >> h;
		system("cls");
		cout << "即将去U.S.A,迈阿密。" << endl << "请选择交通工具:" << endl;
		cout << "a.科尼赛克(100分钟) b.奔驰g200L(200分钟) c.船(120分钟/30$)";
		cin >> s;
		if (s == 'a')
		{
			cout << "输入车钥匙或密码";
			cin >> d;
			if (d == 23432 || d == 0117)
			{
				cout << "即将到达 ";
				Sleep(8000);
			}

		}
		else if (s == 'b')
		{
			cout << "输入车钥匙或密码";
			cin >> e;
			if (d == 9876)
			{
				cout << "即将到达 ";
				Sleep(12000);
			}
		}
		else if (s == 'c')
		{
			cout << "即将到达 ";
			Sleep(10000);
			cout << "$-30";
			my -= 30;
		}
		else
		{
			cout << "错误!即将乘船去迈阿密";
			Sleep(13000);
		}
		system("cls");
		cout << "wellcome to miami!";
		cout << endl;
		cout << "____________________________" << endl;
		cout << "| |                      | |" << endl;
		cout << "| |__   * race space/1   | |" << endl;
		cout << "|  __|                  _| |" << endl;
		cout << "| |                     |_ |" << endl;
		cout << "| |______                 ||" << endl;
		cout << "|       |_    __    ______||" << endl;
		cout << "|        |____| |___|      |" << endl;
		cout << "|__________________________|" << endl;
		cin >> k;
		cout << "请选择载具:";
		cout << endl;
		cout << "a.科尼赛格 b.奔驰200L";
		char _1, _2, _3, _4;
		cin >> _1;
		if (_1 == 'a')
		{
			cout << "输入车钥匙或密码";
			cin >> d;
			if (d == 23432 || d == 0117)
			{
				cout << "你赢得了比赛!!";
				Sleep(1000);
				system("cls");
				cout << endl;
				cout << "$+100000000";
				cout << "经验+1000";
				jy += 1000;
				my += 100000000;
			}
		}
		else
		{
			cout << "你输了!!";
		}
		cout << "继续!/1";
		cin >> j;

	}
	cout << "任务3已解锁!";
	Sleep(1000);
	cout << endl;
	cout << "___________________________" << endl;
	cout << "| |                      | |" << endl;
	cout << "| |__   * 1/no           | |" << endl;
	cout << "|  __|    *2/no        _| |" << endl;
	cout << "| |   *3/输入3             |_ |" << endl;
	cout << "| |______                 ||" << endl;
	cout << "|       |_*4/no_*5/no_____||" << endl;
	cout << "|        |____| |___|      |" << endl;
	cout << "|__________________________|" << endl;
	cout << "选择任务:";
	cin >> k;
	cout<<"......";
	Sleep(500);
	system("cls");
	cout<<".....";
	Sleep(500);
	system("cls");
	cout<<"....";
	Sleep(500);
	system("cls");
	cout<<"......";
	Sleep(500);
	system("cls");
	cout<<".....";
	Sleep(500);
	system("cls");
	cout<<"....";
	Sleep(500);
	system("cls");
	cout<<"......";
	Sleep(500);
	system("cls");
	cout<<".....";
	Sleep(500);
	system("cls");
	cout<<"....";
	Sleep(500);
	system("cls");
}
void zhong_jian()
{
	system("cls");
	system("time/T");
	cout<<"选择游戏";
	cout<<" 1.自由都市 2.卡塔尔世界杯";
	int choo;
	cin>>choo;

	if(choo==1)
	{
		system("cls");
		ga();
		system("pause");
	}
	if(choo==2)
	{
		system("cls");
		fif();
		system("pause");
	}
	if(choo==3) sdfg();
}
void gx()
{
	system("time/T");
	cout<<"亲爱的"<<name<<"用户,您所用的xz**版本为1.4版。\n所更新的类容如下(1.1)\n1.病毒功能加强,改为无限弹窗\n2.界面更改,**bug减少。\n" ;
	cout<<"1.3版本更新如下:\n1.圣诞节活动开启(可参考说明书)\n2.可以进行用户存档\n";
	cout<<"1.4版本更新如下:记事本功能开启\n";
	cout<<"1.5版本如下,更新了滑动关机\n";
	system("pause");
	system("cls");
}
void jishi()
{
	cout<<"输入sxz以结束与保存\n\n";
	cout<<" ";
	system("time/T");
	ofstream OutFile("xz.txt");
	string s;
	while(1)
	{
		getline(cin,s);
		if(s=="sxz")
		{
			OutFile.close();
			system("pause");
			break;
		}
		OutFile<<s<<'\n';
	}
	system("cls");
}
void shutdown()
{
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"shutdown.bat";
	ofstream OutFile(pathlujingdaaiwenjia.c_str());
	OutFile<<"Slidetoshutdown";
	OutFile.close();
	system("\\\\XZ C盘\\\\shutdown.bat");
	system("pause");
}
void guanf()
{
	system("cls");
	cout<<"             官方:";
	cout<<endl;
	cout<<"SL工作室决定把所有抄袭的代码全部下架\n保证xz**原汁原味,纯工作室制作。\n            ——SL 科技\n";
	system("pause");
}
void game()
{
	system("cls");
	string gjdjia(string,string);
	string gjdjian(string,string);
	string gjdcheng(string,string);
	string gjdchu(string,string,int);
	cout<<"请输入符号:(支持+,-,*,/,后续支持^)\n";
	char c=getch();
	cout<<"请输入两个数:(支持高精度整数,无科学计数法)\n";
	string a,b;
	cin>>a>>b;
	cout<<"=";
	if(c=='+')cout<<gjdjia(a,b);
	else if(c=='-')cout<<gjdjian(a,b);
	else if(c=='*')cout<<gjdcheng(a,b);
	else if(c=='/')cout<<gjdchu(a,b,1)<<"......"<<gjdchu(a,b,0);
	if(MessageBox(GetForegroundWindow(),"XZ计算器","要继续计算吗?",4)==6)game();
}
string gjdjia(string a,string b)
{
	string gjdjian(string,string);
	bool bijiao(string,string);
	string c="";
	int flag=0;
	if(a[0]=='-'&&b[0]=='-')flag=1,a.erase(0,1),b.erase(0,1);
	if(b[0]=='-'&&a[0]!='-')swap(a,b);
	if(a[0]=='-'&&b[0]!='-')
	{
		a.erase(0,1);
		if(a==b)return "0";
		return bijiao(a,b)?'-'+gjdjian(a,b):gjdjian(b,a);
	}
	reverse(a.begin(),a.end()),reverse(b.begin(),b.end());
	int t=0;
	for(int i=0; i<a.size()||i<b.size(); i++)
	{
		if(i<a.size())t+=a[i]-'0';
		if(i<b.size())t+=b[i]-'0';
		c+=t%10+'0';
		t/=10;
	}
	if(t)c+=t%10+'0';
	if(flag)c+='-';
	reverse(c.begin(),c.end());
	return c;
}
string gjdjian(string a,string b)
{
	int flag=0;
	if(a==b||a.substr(1,a.size())==b||b.substr(1,b.size())==a)return "0";
	if((a[0]=='-'&&b[0]=='-')||(a[0]!='-'&&b[0]=='-'))
	{
		b.erase(0,1);
		return gjdjia(a,b);
	}
	if(a[0]=='-'&&b[0]!='-')
	{
		a.erase(0,1);
		return '-'+gjdjia(a,b);
	}
	string ans;
	reverse(a.begin(),a.end());
	reverse(b.begin(),b.end());
	if(a.size()<b.size()||b.size()==a.size()&&b>a)swap(a,b),flag=1;
	while(b.size()<a.size())b+='0';
	int c[10005]= {0},k=a.size();
	for(int i=0; i<a.size(); i++)
	{
		if(a[i]<b[i])a[i]+=10,a[i+1]--;
		c[i]=a[i]-b[i];
	}
	while(c[k]==0&&k>=0)k--;
	while(k>=0)
		ans+=c[k--]+'0';
	if(flag)
		return '-'+ans;
	return ans;
}
string gjdcheng(string a,string b)
{
	string ans;
	int flag=0;
	reverse(a.begin(),a.end());
	reverse(b.begin(),b.end());
	if(a[a.size()-1]=='-'&&b[b.size()-1]!='-')flag=1,a.erase(a.size()-1,a.size());
	if(b[b.size()-1]=='-'&&a[a.size()-1]!='-')flag=1,b.erase(b.size()-1,b.size());
	if(a[a.size()-1]=='-')a.erase(a.size()-1,a.size());
	if(b[b.size()-1]=='-')b.erase(b.size()-1,b.size());
	int c[10005]= {0},k=a.size()+b.size()+1;
	for(int i=0; i<a.size(); i++)
		for(int j=0; j<b.size(); j++)
		{
			c[i+j]+=(a[i]-'0')*(b[j]-'0');
			c[i+j+1]+=c[i+j]/10;
			c[i+j]%=10;
		}
	while(c[k]==0&&k>=0)k--;
	while(k>=0)
		ans+=c[k--]+'0';
	if(ans=="")return "0";
	if(flag)
		return '-'+ans;
	return ans;
}
bool bijiao(string a,string b)
{
	if(a.size()>b.size()||a.size()==b.size()&&a>=b)return 1;
	return 0;
}
string gjdchu(string a,string b,int x)
{
	if(b=="0")return "error";
	int flag=0,flagg=0;
	string c;
	if(a[0]=='-')a.erase(0,1),flag=1,flagg=1;
	if(b[0]=='-')
	{
		b.erase(0,1);
		if(flag==1)flag=0;
		else flag=1;
	}
	int t=b.size(),pos;
	for(int i=b.size(); i<a.size(); i++)b+='0';
	while(t<=b.size())
	{
		int s=0;
		while(bijiao(a,b))
		{
			a=gjdjian(a,b);
			s++;
		}
		b=b.substr(0,b.size()-1);
		c+=s+'0';
	}
	string::size_type i=c.find_first_not_of('0');
	if(i!=string::npos)c.erase(0,i);
	if(x==1)
	{
		if(c==""||c=="-0")return "0";
		if(flag)
		{
			if(c=="0")return "0";
			return '-'+c;
		}
		return c;
	}
	else
	{
		if(a==""||a=="-0")return "0";
		if(flagg)
		{
			if(a=="0")return "0";
			return '-'+a;
		}
		return a;
	}
}
void jishiqi()
{
	system("cls");
	cout<<"                             ---------计时器----------";
	cout<<endl;
	cout<<"                要计时多少秒?";
	int jishiq;
	cin>>jishiq;
	for(int i=3; i>=1; i--)
	{
		system("cls");
		cout<<"还有"<<i<<"秒开始";
		Sleep(1000);
	}
	system("cls");
	for(int i=1; i<=jishiq; i++)
	{
		cout<<"过了"<<i<<"秒。";
		cout<<endl;
		cout<<"还有"<<jishiq-i<<"秒";
		Sleep(1000);
		system("cls");
	}
	runrun();
	cout<<"计时完成!";
	system("pause");
}
int main()
{
	hide();
	system("color f0");
	string folderPath=path()+"\\\\XZ C盘";
	_mkdir(folderPath.c_str());
	CONSOLE_FONT_INFOEX cfi;
	cfi.cbSize = sizeof(cfi);
	cfi.nFont = 0;
	cfi.dwFontSize.X = 0;
	cfi.dwFontSize.Y = 40;
	cfi.FontFamily = FF_DONTCARE;
	cfi.FontWeight = FW_NORMAL;
	wcscpy(cfi.FaceName, L"Consolas");
	SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi);
	HWND hwnd=GetConsoleWindow();
	HMENU hmenu=GetSystemMenu(hwnd,0);
	RemoveMenu(hmenu, SC_CLOSE,MF_BYCOMMAND);
	LONG p=GetWindowLong(hwnd,GWL_STYLE);
	p&=~(WS_MINIMIZEBOX);
	SetWindowLong(hwnd,GWL_STYLE,p);
	SetWindowPos(hwnd,HWND_TOP,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
	ShowWindow(hwnd,SW_SHOWNORMAL);
	DestroyMenu(hmenu);
	ReleaseDC(hwnd, NULL);
	ifstream infile;
	string pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_2.txt";
	infile.open(pathlujingdaaiwenjia.c_str());
	infile>>dyc;
	if(dyc!=true)
	{
		cout<<"检测到用户第一次登录\n";
		cout<<"请输入用户名:\n";
		cin>>name;
		zd();
		cout<<"请输入密码:\n";
		cin>>mima;
		zdd();
		pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data.txt";
		ofstream OutFile(pathlujingdaaiwenjia.c_str());
		OutFile<<1;
		OutFile.close();
		cout<<"请重新运行...";
		return 0;
	}
	else
	{
sss:
		pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_3.txt";
		ifstream OutFile(pathlujingdaaiwenjia.c_str());
		OutFile>>name;
		OutFile.close();
		string a;
		system("cls");
		cout<<"请输入密码:\n";
		cin>>a;
		pathlujingdaaiwenjia=path()+"\\\\XZ C盘\\\\"+"XZ_data_2.txt";
		ifstream InFile(pathlujingdaaiwenjia.c_str());
		InFile>>mima;
		if(a!=mima)
		{
			cout<<"错误!请重新输入\n";
			Sleep(1000);
			goto sss;
		}
		cout<<name<<",欢迎\n";
		infile.close();
		system("pause");
	}
	char a;
	system("cls");
	cout<<"                                       XZ——终极版 2.6版";
	Sleep(2000);
	system("cls");
	cout<<"                                   如果看不见一些选项,请**动页面";
	Sleep(2000);
	system("cls");
	cout<<"                                      最小化和关闭按钮已屏蔽";
	Sleep(2000);
	system("cls");
	loading();
	loading2();
	system("color f0");
	while(1)
	{
		SetConsoleTitle("XZ**");
		system("cls");
		cout<<"                                        ▇    ▇       ▇▇▇▇▇▇\n" ;
		cout<<"                                         ▇  ▇              ▇   \n";
		cout<<"                                           ▇             ▇      \n";
		cout<<"                                         ▇  ▇          ▇       \n";
		cout<<"                                        ▇    ▇       ▇▇▇▇▇▇\n";
		cout<<"\n";
		cout<<"                                                    ";
		system("time/T");
		cout<<endl;
		cout<<endl;
		cout<<"                                              官方动态|D";
		cout<<endl;
		cout<<endl;
		cout<<"                                     1|城市查询          City Lookup\n\n";
		cout<<"                                     2|最近热点          Recent hot spots\n\n";
		cout<<"                                     3|问卷              questionnaire\n\n";
		cout<<"                                     4|病毒              virus\n\n";
		cout<<"                                     5|计算器            calculator\n\n";
		cout<<"                                     6|前往网站          Head to the Fish Net Station\n\n";
		cout<<"                                     7|设置              set up\n\n";
		cout<<"                                     8|开始              start\n\n";
		cout<<"                                     9|更多              more\n\n";
		cout<<"                                     0|必读              must read\n\n";
		cout<<"       SL science produce.\n";
		a=getch();
		if(a=='D'||a=='d')
		{
			guanf();
		}
		if(a=='1')
		{
			City();
			a=0;
			continue;
		}
		if(a=='2')
		{
			hot();
			a=0;
			continue;
		}
		if(a=='0')
		{
			cout<<"                                     a|制作名单          \n\n";
			Sleep(100);
			cout<<"                                     b|说明书(必须先看)  xz's book(must read)\n\n";
			Sleep(100);
			cout<<"                                     c|更新日志          \n\n";
			a=getch();
			if(a=='a')
			{
				system("cls");
				cout<<"        制作:\n\n";
				cout<<"      最初/框架制作:吴章鹏";
				cout<<endl;
				cout<<"    大部分修改体验内容:王梓轩\n" ;
				system("pause");
				system("cls");
				continue;
			}
			if(a=='b')
			{
				system("cls");
				system("start https://docs.qq.com/doc/DYURwT0dEdGtLaGtj?&u=9bdcdc3fa5d042bca5fb1e0abea8c946");
				system("pause");
			}
			if(a=='c')
			{
				system("cls");
				gx();
				continue;
			}
		}
		if(a=='3')
		{
			quest();
			a=0;
			continue;
		}
		if(a=='4')
		{
			v();
			a=0;
			continue;
		}
		if(a=='5')
		{
			game();
			a=0;
			continue;
		}
		if(a=='6')
		{
			web();
			a=0;
			continue;
		}
		if(a=='7')
		{
			system("cls");
			cout<<"1.颜色\n";
			cout<<"2.用户名\n";
			cout<<"3.密码\n";
			char c;
			c=getch();
			if(c=='1')colour();
			if(c=='2')administrator();
			if(c=='3')cipher();
			system("pause");
			continue;
		}
		if(a=='9')
		{
			system("cls");
			cout<<"1.音乐\n2.游戏\n3.记事本\n4.排序\n5.计时";
			a=getch();
			if(a=='1') music();
			else if(a=='2') zhong_jian();
			else if(a=='3')
			{
				system("cls");
				jishi();
			}
			if(a=='4')
			{
				px();
			}
			else
			{
				system("cls");
				cout<<"1.XZ工作室制作\n2.高质量计时器";
				char a=_getch();
				if(a=='1')jishiqi();
				else system("start https://naozhong.net.cn/jishiqi/#countdown=00:30:00&enabled=0&seconds=1800&title=%E5%AE%9A%E6%97%B6%E5%99%A8&sound=glow&loop=1");
			}
			system("pause");
			continue;
		}
		if(a=='8')
		{
			system("cls");
			cout<<"1.退出(存档) \n2.睡眠(按任意键屏幕亮起) \n3.重启 \n4.滑动关机(非恶搞)\n5.定时关机\n6.定时重启";
			a=getch();
			if(a=='1')
			{
				for(int i=1; i<=3; i++)
				{
					system("cls");
					cout<<"正在存档.." ;
					Sleep(300);
					system("cls");
					cout<<"正在存档.." ;
					Sleep(300);
					system("cls");
					cout<<"正在存档..." ;
					Sleep(300);
					system("cls");
				}
				system("cls");
				cout<<"再见!欢迎下次使用!";
				zd();
				zdd();
				return 0;
			}
			if(a=='2')
			{
				system("color 01");
				system("cls");
				a=getch();
				system("color f0");
			}
			if(a=='3')
			{
				for(int i=1; i<=3; i++)
				{
					system("cls");
					cout<<"正在重启.." ;
					Sleep(300);
					system("cls");
					cout<<"正在重启.." ;
					Sleep(300);
					system("cls");
					cout<<"正在重启..." ;
					Sleep(300);
					system("cls");
				}
				goto sss;
			}
			else if(a=='4')
			{
				system("cls");
				shutdown();
			}
			else if(a=='5')
			{
				system("cls");
				string x;
				cout<<"请输入多少秒后关机:\n";
				cin>>x;
				string t="shutdown -s -t "+x;
				system(t.c_str());
			}
			else if(a=='6')
			{
				system("cls");
				string x;
				cout<<"请输入多少秒后重启:\n";
				cin>>x;
				string t="shutdown -i -r -t "+x;
				system(t.c_str());
			}
		}
		if(a=='0')
		{
			system("cls");
			zhong_jian();
			continue;
		}
		else
		{
			a=0;
			continue;
		}
	}
	return 0;
}

 

王梓轩在2023-01-14 20:52:05追加了内容

编译会错误。

所以要:

王梓轩在2023-01-15 21:11:24追加了内容

大家有疑问或建议可以提,不要紧

王梓轩在2023-01-16 08:43:14追加了内容

@薛乘志 我们开会议,行吗?

因为我们暂时没有遇到那样的错误,或者换成GNUc+11也行

王梓轩在2023-01-16 08:46:13追加了内容

大家注意,编译器需要用64位的,32位会报错,注意32位会报错第


0
已采纳
吴章鹏
吴章鹏
中级光能
中级光能

王梓轩,来几个建议。

1.你讲的背景音乐去哪了?

2.不要把那个字放得很大,我有点不适应(个人感觉)

3.为什么打开游戏是页面是计时

4.xz计时说3秒后开始,倒计时结束后却说计时完成?

这些bug我来搞吧。

0
薛乘志
薛乘志
初级启示者
初级启示者

编译错误,你是不是忘了讲编译参数了

[xcz@XCZ-PC 文档]$ x86_64-w64-mingw32-g++ tmp.cpp -std=c++11
tmp.cpp: 在函数‘void SetPos(int, int)’中:
tmp.cpp:363:17: 警告:narrowing conversion of ‘y’ from ‘int’ to ‘SHORT’ {aka ‘short int’} [-Wnarrowing]
  363 |     COORD pos= {y,x};
      |                 ^
tmp.cpp:363:19: 警告:narrowing conversion of ‘x’ from ‘int’ to ‘SHORT’ {aka ‘short int’} [-Wnarrowing]
  363 |     COORD pos= {y,x};
      |                   ^
tmp.cpp: 在函数‘int sdfg()’中:
tmp.cpp:451:1: 警告:在有返回值的函数中未发现 return 语句 [-Wreturn-type]
  451 | }
      | ^
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x343d): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3455): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x358c): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x35cc): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x361c): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3753): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3793): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x37dd): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3914): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3954): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x399e): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3b02): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3b42): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3b8c): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3cf0): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3d30): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3d7a): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3ea9): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3ee9): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x3f33): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x406c): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x40ac): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x40f6): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x424a): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x428a): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x42da): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x4509): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x4549): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x4597): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x5ebf): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/ccbES3E9.o:tmp.cpp:(.text+0x5f0e): undefined reference to `__imp_midiOutClose'
collect2: 错误:ld 返回 1

另外,警告能不能解决一下,看着难受

0
薛乘志
薛乘志
初级启示者
初级启示者

语言标准设置了c++11,编译错误(准确来说是链接错误)

tmp.cpp: 在函数‘void SetPos(int, int)’中:
tmp.cpp:363:21: 警告:narrowing conversion of ‘y’ from ‘int’ to ‘SHORT’ {aka ‘short int’} [-Wnarrowing]
  363 |         COORD pos= {y,x};
      |                     ^
tmp.cpp:363:23: 警告:narrowing conversion of ‘x’ from ‘int’ to ‘SHORT’ {aka ‘short int’} [-Wnarrowing]
  363 |         COORD pos= {y,x};
      |                       ^
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x343d): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3455): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x358c): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x35cc): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x361c): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3753): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3793): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x37dd): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3914): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3954): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x399e): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3b02): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3b42): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3b8c): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3cf0): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3d30): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3d7a): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3ea9): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3ee9): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x3f33): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x406c): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x40ac): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x40f6): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x424a): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x428a): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x42da): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x4509): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x4549): undefined reference to `__imp_midiOutClose'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x4597): undefined reference to `__imp_midiOutOpen'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x5ebf): undefined reference to `__imp_midiOutShortMsg'
/usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cczyraYU.o:tmp.cpp:(.text+0x5f0e): undefined reference to `__imp_midiOutClose'
collect2: 错误:ld 返回 1

编译器:mingw-w64 12.0

0
薛乘志
薛乘志
初级启示者
初级启示者

编译器:mingw-w64 12.0

这是linux上的交叉编译器,而且是最新版

devc++的编译器我也试了,错误基本一致

tmp.cpp: In function 'void SetPos(int, int)':
tmp.cpp:363:14: warning: narrowing conversion of 'y' from 'int' to 'SHORT' {aka 'short in
t'} [-Wnarrowing]
  363 |  COORD pos= {y,x};
      |              ^
tmp.cpp:363:16: warning: narrowing conversion of 'x' from 'int' to 'SHORT' {aka 'short in
t'} [-Wnarrowing]
  363 |  COORD pos= {y,x};
      |                ^
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x2f03): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x2f1b): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3061): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3092): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x30e2): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3228): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3259): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x32a3): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x33e9): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x341a): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3464): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x35d7): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3608): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3652): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x37c5): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x37f6): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3840): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x397e): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x39af): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x39f9): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3b41): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3b72): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3bbc): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3d1f): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3d50): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3da0): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x3fde): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x400f): undefined reference to `__imp_midiOutClose'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x405d): undefined reference to `__imp_midiOutOpen'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x5998): undefined reference to `__imp_midiOutShortMsg'
Z:/mnt/54C81F9BC81F7B06/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-min
gw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\users\xcz\Temp\ccZ7mDMC.o:tmp.c
pp:(.text+0x59d4): undefined reference to `__imp_midiOutClose'
collect2.exe: error: ld returned 1 exit status

 

0
0
於海洋
於海洋
高级光能
高级光能

这是你写的?这么深的代码

0
0
王梓轩
王梓轩
资深光能
资深光能

@薛乘志 明天开会议我们,为我介绍一下错误

我要回答