0
已采纳
宣海宁
中级光能
中级光能
#include <iostream>
#include <windows.h>
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 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;
int pai=700,ban=350;
int ting=175;
int main()
{
Beep(so,ban);
Beep(mi,2*ting);
Beep(do,2*ting);
Beep(re,ban);
Beep(qso,ban);
Beep(qso,2*ting);
Beep(qsi,2*ting);
Beep(re,2*ting);
Beep(so,2*ting);
Beep(mi,ban);
Beep(do,ban);
Beep(qmi,2*pai);
Beep(qso,4*ban);
cout<<"请三连";
Sleep(1000);
Beep(so,ban);
Beep(mi,2*ting);
Beep(do,2*ting);
Beep(re,ban);
Beep(qso,ban);
Beep(qso,2*ting);
Beep(qsi,2*ting);
Beep(re,2*ting);
Beep(so,2*ting);
Beep(mi,ban);
Beep(do,ban);
Beep(qmi,2*pai);
Beep(qre,4*ban);
Sleep(1000);
Beep(so,ban);
Beep(mi,2*ting);
Beep(do,2*ting);
Beep(re,ban);
Beep(qso,ban);
Beep(qso,2*ting);
Beep(qsi,2*ting);
Beep(re,2*ting);
Beep(so,2*ting);
Beep(mi,ban);
Beep(do,ban);
Beep(qso,4*ban);
Sleep(1000);
Beep(so,ban);
Beep(mi,2*ting);
Beep(do,2*ting);
Beep(re,ban);
Beep(qso,ban);
Beep(qso,2*ting);
Beep(qsi,2*ting);
Beep(re,2*ting);
Beep(so,2*ting);
Beep(do,pai);
return 0;
}//三连谢谢!!!
0
0
0
0