作者:
qwerty
Rtystion
创建日期:2024年11月28日 18:19
浏览量:23
#include<bits/stdc++.h>
#include<thread>
#include<mutex>
#include<windows.h>
using namespace std;
#define b(a,x) Beep(a,x)
#define tttt 1600
#define ttt 1200
#define tt 800
#define t 400
#define t_ 200
#define t__ 100
#define t___ 50
#define oon1 65
#define oon1_ 69
#define oon2 73
#define oon2_ 78
#define oon3 82
#define oon4 87
#define oon4_ 93
#define oon5 98
#define oon5_ 104
#define oon6 110
#define oon6_ 117
#define oon7 123
#define on1 131
#define on1_ 139
#define on2 147
#define on2_ 156
#define on3 165
#define on4 175
#define on4_ 185
#define on5 196
#define on5_ 208
#define on6 220
#define on6_ 233
#define on7 247
#define n1 262
#define n1_ 277
#define n2 294
#define n2_ 311
#define n3 330
#define n4 349
#define n4_ 370
#define n5 392
#define n5_ 415
#define n6 440
#define n6_ 466
#define n7 494
#define no1 523
#define no1_ 554
#define no2 587
#define no2_ 622
#define no3 659
#define no4 698
#define no4_ 740
#define no5 784
#define no5_ 831
#define no6 880
#define no6_ 932
#define no7 988
#define noo1 1046
#define noo1_ 1109
#define noo2 1175
#define noo2_ 1245
#define noo3 1319
#define noo4 1397
#define noo4_ 1480
#define noo5 1568
#define noo5_ 1661
#define noo6 1760
#define noo6_ 1865
#define noo7 1976
void A1(){
cout<<"1\n";//1
b(no1,t__);b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(no1,t__);b(no2,t__*2);//
b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(n7,t__);b(no1,t__);
//--------------
b(n5,t__);b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(no1,t__);b(no2,t__*2);//
b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(n7,t__);b(no1,t__);
//------------
b(n4,t__);b(n6,t__);b(no1,t__);b(n6,t__);
b(no5,t__);b(n6,t__);b(no1,t__);b(no2,t__);
b(no4,t__);b(n6,t__);b(no1,t__);b(n6,t__);
b(no5,t__);b(n6,t__);b(no1,t__);b(no2,t__);
cout<<"4\n";//4
b(n5,t__);b(n7,t__);b(no1,t__);b(n7,t__);
b(no5,t__);b(n7,t__);b(no1,t__);b(no2,t__);
b(n5,t__);b(n7,t__);b(no1,t__);b(n7,t__);
b(no5,t__);b(n7,t__);b(no1,t__);b(no2,t__);
//-----------
b(n1,t__);b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(no1,t__);b(no2,t__*2);//
b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(n7,t__);b(no1,t__);
//-------------
b(n5,t__);b(n5,t__);b(no1,t__);b(n5,t__);
b(no5,t__);b(n5,t__);b(no1,t__);b(no2,t__*2);//
b(n6,t__);b(no1,t__);b(n6,t__);
b(no5,t__);b(n6,t__);b(n7,t__);b(no1,t__);
cout<<"7\n";//7
b(n5,t__);b(n5,t__);b(n6,t__);b(no1,t__);
b(no5,t__);b(n6,t__);b(no1,t__);b(no2,t__*2);//
b(n6,t__);b(no1,t__);b(no2,t__);
b(no5,t__);b(n6,t__);b(n7,t__);b(no1,t__);
//-----------
b(n5,t__);b(n5,t__);b(n6,t__);b(no1,t__);
b(no5,t__);b(n6,t__);b(no1,t__);b(no2,t__*2);//
b(n6,t__);b(no1,t__);b(no2,t__);
b(no5,t__);b(n6,t__);b(no1,t__);b(no2,t__);
//-------------
b(no2,t__);b(no1,t__);b(no1,t__);b(no1,t__);
b(no1,t__);b(no1,t__);b(no1,t__);b(no2,t__);
b(no2,t__);b(no1,t__);b(no1,t__);b(no1,t__);
b(no1,t_);b(no1,t__);b(no2,t__);
cout<<"10\n";//10
b(no2,t__);b(no1,t__);b(no1,t__);b(no1,t__);
b(no1,t__);b(no1,t__);b(no1,t__);b(no1,t___);b(no2,t___);
b(no2,t__);b(no2,t__);b(no2,t__);b(n6,t__);
b(no1,t_);b(no1,t_);
//---------
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__);
b(no1,t_);b(no2,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(n6,t__);
b(no1,t__+t___);b(no1,t___);b(no2,t___);
//----------
b(no2,t__);b(no1,t__);b(no1,t__);b(no2,t__);
b(no2,t__);b(no1,t__);b(no1,t__);b(no2,t__);
b(no2,t__);b(no1,t__);b(no1,t__);b(no1,t__);
b(no3,t__);b(no2,t__);b(no2,t_);
cout<<"13\n";//13 ||:
Sleep(t__);b(no3,t__);b(no5,t__);b(no3,t__);
b(no3,t__);b(no5,t__);b(no3,t__);b(no5,t__*2);//
b(no3,t__);b(no5,t__);b(no3,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(no1,t__);
//-----------
Sleep(t__);b(no1,t___);b(no1,t___);b(no1,t__);b(no5,t__);
b(no5,t__);b(no2,t__);b(no2,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__);
b(no5,t__);b(no3,t__);b(no3,t_);
//--------------
Sleep(t__);b(no5,t__);b(no5,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__*2);//
b(no5,t__);b(no5,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__);
cout<<"16\n";//16
b(no1,t_+t__);b(no1,t__);
b(no1,t__);b(no1,t__);b(no1,t__);b(no4,t__);
b(no4,t__);b(no3,t__);b(no3,t__);b(no2,t__);
b(no2,t__);b(no1,t__);b(n6,t__);b(no1,t__);
//----------
Sleep(t_+t__);b(no1,t__);
b(no4,t_);b(no4,t__);b(no3,t__);
b(no3,t__);b(no2,t__);b(no2,t_);
b(no2,t__);b(no1,t__);b(no1,t__);b(no2,t__);
//------------
b(no3,t_);b(no2,t__);b(no1,t__+t_);//
b(no2,t_);
b(n7,t_);b(n6,t_);
Sleep(t_);b(no1,t__);b(no2,t__);
cout<<"19\n";//19
b(n6,t_);b(no2,t__);b(no1,t__+t_);//
b(no2,t__);b(no3,t__+t_);//
b(no2,t__);b(no3,t__+t_);//
b(no6,t__);b(no6,t__+t_);//
//----------
b(no5,t_+t+t);//
Sleep(t);
//-------------
Sleep(t_+t__);b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t_);b(no5,t__);b(no2,t__);
cout<<"22\n";//22
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t_+t__);b(no3,t__);
b(no2,t_+t__);b(no1,t__+t_+t__);//
//---------------
b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t_);b(no5,t__);b(no6,t__);
//-----------
b(no6,t__);b(no5,t__);b(no5,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t_+t__);//
b(no3,t_);b(no5,t__);
cout<<"25\n";//25
Sleep(t_+t__);b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t_);b(no5,t__);b(no1,t__);
//---------
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t_+t__);b(no3,t__);
b(no2,t_+t__);b(no1,t__+t_+t__);//
//--------------
b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(noo2,t__);b(noo2,t__);b(no7,t__);
b(noo1,t_);b(no6,t__);b(no7,t__);
cout<<"28\n";//28
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t_);
b(no3,t_);b(no2,t_);
//---------[1.
b(no2,t__);b(no1,t__);b(no1,t_+t);//
b(n5,t_*3);///
Sleep(t);
//]:||
//===================================================
cout<<"13 again\n";//13 ||:
Sleep(t__);b(no3,t__);b(no5,t__);b(no3,t__);
b(no3,t__);b(no5,t__);b(no3,t__);b(no5,t__*2);//
b(no3,t__);b(no5,t__);b(no3,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(no1,t__);
//==============
Sleep(t__);b(no1,t___);b(no1,t___);b(no1,t__);b(no5,t__);
b(no5,t__);b(no2,t__);b(no2,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__);
b(no5,t__);b(no3,t__);b(no3,t_);
//===============
Sleep(t__);b(no5,t__);b(no5,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__*2);//
b(no5,t__);b(no5,t__);b(no2,t__);
b(no2,t__);b(no2,t__);b(no2,t__);b(no1,t__);
cout<<"16 again\n";//16
b(no1,t_+t__);b(no1,t__);
b(no1,t__);b(no1,t__);b(no1,t__);b(no4,t__);
b(no4,t__);b(no3,t__);b(no3,t__);b(no2,t__);
b(no2,t__);b(no1,t__);b(n6,t__);b(no1,t__);
//===============
Sleep(t_+t__);b(no1,t__);
b(no4,t_);b(no4,t__);b(no3,t__);
b(no3,t__);b(no2,t__);b(no2,t_);
b(no2,t__);b(no1,t__);b(no1,t__);b(no2,t__);
//=============
b(no3,t_);b(no2,t__);b(no1,t__+t_);//
b(no2,t_);
b(n7,t_);b(n6,t_);
Sleep(t_);b(no1,t__);b(no2,t__);
cout<<"19 again\n";//19
b(n6,t_);b(no2,t__);b(no1,t__+t_);//
b(no2,t__);b(no3,t__+t_);//
b(no2,t__);b(no3,t__+t_);//
b(no6,t__);b(no6,t__+t_);//
//=============
b(no5,t_+t+t);//
Sleep(t);
//=============
Sleep(t_+t__);b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t_);b(no5,t__);b(no2,t__);
cout<<"22 again\n";//22
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t_+t__);b(no3,t__);
b(no2,t_+t__);b(no1,t__+t_+t__);//
//==============
b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t_);b(no5,t__);b(no6,t__);
//================
b(no6,t__);b(no5,t__);b(no5,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t_+t__);//
b(no3,t_);b(no5,t__);
cout<<"25 again\n";//25
Sleep(t_+t__);b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t_);b(no5,t__);b(no1,t__);
//===============
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t__);b(no3,t__);b(no3,t__);b(no5,t__);
b(no5,t_+t__);b(no3,t__);
b(no2,t_+t__);b(no1,t__+t_+t__);//
//==============
b(no5,t__);
b(no5,t__);b(no5,t__);b(no5,t__);b(noo1,t__);
b(noo1,t__);b(noo2,t__);b(noo2,t__);b(no7,t__);
b(noo1,t_);b(no6,t__);b(no7,t__);
cout<<"28 again\n";//28
b(noo1,t__);b(no7,t__);b(no7,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t__);b(no6,t__);
b(no6,t__);b(no5,t__);b(no5,t_);
b(no3,t_);b(no2,t_);
//===================================================
//---------[2.
Sleep(t_);b(n6,t_);
b(n6,t_);b(n6,t_);
b(n7,t_);b(n7,t__);b(n7,t__+t_);//
b(n7,t__);b(n7,t__);
//]
cout<<"31\n";//31
b(n3,t_);b(no1,t__);b(no2,t__+t_);//
b(n7,t__);b(no1,t__+t);//
Sleep(t_);b(n6,t__);b(n7,t__);
//-----------
b(no1,t_);b(n7,t__);b(n6,t__+t_);//
b(n7,t__);b(no1,t__+t_+t__);//
b(n5,t__);
b(n5,t_);b(no2,t_);
//--------------
b(no2,tt);//b(n4,tt);
Sleep(t__);b(no1,t__);b(no5,t__);b(no3,t__);
b(no2,t);
//34
Sleep(t_+t__);b(n5,t__);
b(n5,t__);b(n5,t__);b(n5,t__);b(no1,t__);
b(no1,t__);b(n7,t__);b(n7,t__);b(n6,t__);
b(n6,t_);b(n5,t__);b(n5,t__);
//---------
b(n5,t__);b(n3,t__);b(n3,t__);b(n5,t__);
b(n5,t__);b(n3,t__);b(n3,t__);b(n5,t__);
b(n5,t_+t__);b(n3,t__);
b(n2,t_+t__);b(n1,t__+t_+t__);//
//-----------
b(n5,t__);
b(n5,t__);b(n5,t__);b(n5,t__);b(no1,t__);
b(no1,t__);b(n7,t__);b(n7,t__);b(n6,t__);
b(n6,t_);b(n5,t__);b(n6,t__);
cout<<"37\n";//37
b(n6,t__);b(n5,t__);b(n5,t__);b(n6,t__);
b(n6,t__);b(n5,t__);b(n5,t__);b(n6,t__);
b(n6,t__);b(n5,t__);b(n5,t_+t__);//
b(n3,t_);b(n5,t__);
//----------
Sleep(t_+t__);b(n5,t__);
b(n5,t__);b(n5,t__);b(n5,t__);b(no1,t__);
b(no1,t__);b(n7,t__);b(n7,t__);b(n6,t__);
b(n6,t_);b(n5,t__);b(n5,t__);
//----------
b(n5,t__);b(n3,t__);b(n3,t__);b(n5,t__);
b(n5,t__);b(n3,t__);b(n3,t__);b(n5,t__);
b(n5,t_+t__);b(n3,t__);
b(n2,t_+t__);b(n1,t__+t_+t__);//
cout<<"40\n";//40
b(n5,t__);
b(n5,t__);b(n5,t__);b(n5,t__);b(no1,t__);
b(no1,t__);b(no2,t__);b(no2,t__);b(n7,t__);
b(no1,t_);b(n6,t__);b(n7,t__);
//-----------
b(no1,t__);b(n7,t__);b(n7,t__);b(n6,t__);
b(n6,t__);b(n5,t__);b(n5,t__);b(n6,t__);
b(n6,t__);b(n5,t__);b(n5,t_);
b(n3,t_);b(n2,t_);
//----------
b(no3,tt);//b(n3,tt);
b(no4,t_+t__);//b(n4,t+t_);
b(no3,t__);b(no1,t__+t+t_);//b(n3,t__);b(n1,t__+t+t_);//
cout<<"43\n";//43
b(n2,t__);b(n3,t__);
b(n5,t+t_);
Sleep(t__);b(on5,t__);
//------------
b(no3,tt);//b(n3,tt);
b(no4,t+t_);//b(n4,t+t_);
b(no3,t_);//b(n3,t_);
//------------
b(no1,tttt);//b(n1,tttt);
}
int main(){
thread t1(A1);
t1.join();
cout<<"Done";
return 0;
}