歌乐第二弹:C++九九八十一
第一弹传送门:极乐净土
二话不说,上代码(注意事项在第一弹里):
#include <windows.h>
//q前缀为低音,g为高音,s前缀为半音阶
const int q1 = 131;
const int q2 = 147;
const int q3 = 165;
const int q4 = 175;
const int q5 = 196;
const int q6 = 220;
const int q7 = 247;
const int p1 = 262;
const int p2 = 296;
const int p3 = 330;
const int p4 = 349;
const int p5 = 392;
const int p6 = 440;
const int p7 = 494;
const int g1 = 523;
const int g2 = 587;
const int g3 = 659;
const int g4 = 698;
const int g5 = 784;
const int g6 = 880;
const int g7 = 988;
#define sq1 277
#define sq2 311
#define sq4 370
#define sq5 415
#define sq6 466
#define s1 554
#define s2 622
#define s4 740
#define s5 831
#define s6 932
#define sg1 1046
#define sg2 1245
#define sg4 1480
#define sg5 1661
#define sg6 1865
int main()
{
int pai=500,ban=250;
int ting=128;
Sleep(1000);
//=================qianzou
Beep(q6,ban);
Beep(q5,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(p1,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p5,ban);
Beep(p3,ban);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p2,ban);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(q6,ban);
Beep(q5,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(p1,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,pai);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(p1,ban/2);
Beep(q6,ban);
Beep(q5,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(p1,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p5,ban);
Beep(p3,ban);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p2,ban);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(q6,ban);
Beep(q5,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(p1,ban);
Beep(p2,ban);
Beep(q6,ban);
Beep(q5,ban);
Beep(q6,ban);
Beep(q5,ban);
Beep(q6,pai*2);
Beep(p6,pai*4);
Beep(g3,pai);
Beep(g5,pai);
Beep(g3,pai);
Beep(g2,ban);
Beep(g3,ban/2);
Beep(g2,ban/2);
Beep(p6,pai);
Beep(g2,pai);
Beep(g3,pai);
Beep(g1,ban);
Beep(g2,ban);
Beep(g5,pai);
Beep(g3,pai);
Beep(g2,pai);
Beep(g3,pai);
Beep(p6,pai*4);
Beep(g1,pai);
Beep(g5,pai);
Beep(g3,pai);
Beep(g2,pai);
Beep(g2,pai*2);
Beep(g1,pai+ban);
Beep(g2,ban);
Beep(p5,pai);
Beep(g2,pai);
Beep(g1,pai);
Beep(p7,pai);
Beep(p6,pai*4);
Beep(g3,pai);
Beep(g5,pai);
Beep(g3,pai);
Beep(g2,pai);
Beep(g2,pai*2);
Beep(g3,pai*2);
Beep(g5,pai);
Beep(g6,ban);
Beep(g5,ban/2);
Beep(g3,ban/2);
Beep(g2,pai);
Beep(g3,pai);
Beep(g1,pai);
Beep(g5,pai);
Beep(g3,pai);
Beep(g2,pai);
Beep(g2,pai*2);
Beep(g1,pai*2);
Beep(p5,pai);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(p7,pai);
//===================zhenpian
Beep(p6,pai);
//====================1st
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,pai);
Beep(g5,ban);
Beep(g5,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g3,pai);
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g3,ban);
Beep(g2,pai);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(p6,pai);
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,pai);
Beep(g5,ban);
Beep(g5,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g3,pai);
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g3,ban);
Beep(g2,pai);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(p6,pai);
Beep(g1,pai);
Beep(p7,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,pai);
Beep(p5,ban);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g3,pai*2);
Sleep(pai);
Beep(p3,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g1,ban);
Beep(p5,ban);
Beep(p6,pai*4);
//=======================2nd
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,pai);
Beep(g5,ban);
Beep(g5,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g3,pai);
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,pai);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(p6,ban);
Beep(p6,pai);
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,pai);
Beep(g5,ban);
Beep(g5,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g3,pai);
Beep(g6,pai);
Beep(g6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,pai);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(p6,ban);
Beep(p6,pai);
Beep(g1,pai);
Beep(p7,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,pai);
Beep(p5,ban);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g2,pai);
Beep(g3,ban);
Beep(g3,pai*2);
Sleep(pai);
Beep(p3,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g1,ban);
Beep(p5,ban);
Beep(p6,pai*4);
//===============2nd的banzou
Beep(p6,pai*2);
Beep(p5,ban);
Beep(p6,ban);
Beep(p6,pai);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(p6,pai);
Beep(p1,pai);
Beep(p2,pai);
Beep(p1,ban);
Beep(p7,ban);
Beep(g6,ban);
Beep(g5,ban);
Beep(g6,pai+pai/2);
Beep(g5,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(p1,pai);
Beep(p2,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(q5,ban);
Beep(q6,ban);
Beep(q6,ban);
Beep(p1,pai);
Beep(p2,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(q5,ban);
Beep(q5,ban);
Beep(q5,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g5,pai);
Beep(g3,ban);
Beep(q2,ban);
Beep(q1,pai);
Beep(g2,pai);
Beep(p6,pai*3);
Beep(q5,pai);
Beep(p1,pai);
Beep(p2,pai);
Beep(p2,ban);
Beep(p1,ban);
Beep(q6,ban);
Beep(q5,ban);
Beep(q6,ban);
Beep(p3,ban);
Beep(p5,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(p5,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,pai*2);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,pai);
Beep(sg1,pai*2);
Beep(g7,pai*2);
Beep(g7,pai*3);
//=============3rd
Beep(p3,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban/2);
Beep(g2,ban/2);
Beep(g2,pai);
Beep(p3,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g6,ban);
Beep(g1,ban);
//===============4th
Beep(p6,ban);
Beep(p5,pai);
Beep(g3,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2+ban);
Beep(g3,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban/2+ban);
Beep(g3,ban/2);
Beep(g3,ban);
Beep(g5,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2+ban);
Beep(g3,ban);
Sleep(ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,ban);
Beep(g3,pai);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban+ban/2);
Beep(g1,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g6,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g3,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g6,pai*4);
Beep(g6,pai*4);
Sleep(1000);
return 0;
}
歌乐第二弹:C++九九八十一的更多相关文章
- 从西天取经的九九八十一难来看Java设计模式:模板方法模式
目录 示例 模板方法模式 定义 意图 主要解决问题 适用场景 优缺点 西天取经的九九八十一难 示例 当我们设计一个类时,我们能明确它对外提供的某个方法的内部执行步骤, 但一些步骤,不同的子类有不同的行 ...
- 关于『HTML5』:第二弹
关于『HTML5』:第二弹 建议缩放90%食用 咕咕咕咕咕咕咕!!1 (蒟蒻大鸽子终于更新啦) 自开学以来,经过了「一脸蒙圈的 半期考试」.「二脸蒙圈的 体测」的双重洗礼,我终于有空肝 HTML5 辣 ...
- Java基础-程序流程控制第二弹(循环结构)
Java基础-程序流程控制第二弹(循环结构) 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 流程控制有三种基本结构:顺序结构,选择结构和循环结构.一个脚本就是顺序结构执行的,选择结 ...
- 高并发第二弹:并发概念及内存模型(JMM)
高并发第二弹:并发概念及内存模型(JMM) 感谢 : 深入Java内存模型 http://www.importnew.com/10589.html, cpu缓存一致性 https://www.cnbl ...
- 孤荷凌寒自学python第八十一天学习爬取图片1
孤荷凌寒自学python第八十一天学习爬取图片1 (完整学习过程屏幕记录视频地址在文末) 通过前面十天的学习,我已经基本了解了通过requests模块来与网站服务器进行交互的方法,也知道了Beauti ...
- 《手把手教你》系列基础篇(八十一)-java+ selenium自动化测试-框架设计基础-TestNG如何暂停执行一些case(详解教程)
1.简介 在实际测试过程中,我们经常会遇到这样的情况,开发由于某些原因导致一些模块进度延后,而你的自动化测试脚本已经提前完成,这样就会有部分模块测试,有部分模块不能进行测试.这就需要我们暂时不让一些t ...
- 关于『进击的Markdown』:第二弹
关于『进击的Markdown』:第二弹 建议缩放90%食用 众里寻他千百度,蓦然回首,Markdown却在灯火灿烂处 MarkdownYYDS! 各位早上好! 我果然鸽稿了 Markdown 语法 ...
- 浅谈Hybrid技术的设计与实现第二弹
前言 浅谈Hybrid技术的设计与实现 浅谈Hybrid技术的设计与实现第二弹 浅谈Hybrid技术的设计与实现第三弹——落地篇 接上文:浅谈Hybrid技术的设计与实现(阅读本文前,建议阅读这个先) ...
- 前端学习 第二弹: JavaScript中的一些函数与对象(1)
前端学习 第二弹: JavaScript中的一些函数与对象(1) 1.apply与call函数 每个函数都包含两个非继承而来的方法:apply()和call(). 他们的用途相同,都是在特定的作用域中 ...
随机推荐
- dos生成目录树
1. tree命令详解 [Tree命令作用] 以图形显示驱动器或路径的文件夹结构. [Tree命令格式] 在命令行窗口使用tree /?查看帮助. TREE [drive:][path] [/F] [ ...
- pytest入门学习(2)
pytest的hello world pyt1.py def func(x): print (x+1); return x+1; def test_answer(): assert func(3) = ...
- sql server 数据库维护
select 'kill ',s.spid, sd.name, * from sys.sysprocesses sinner join sys.sysdatabases sd on s.dbid=sd ...
- python使用C扩展
CPython还为开发者实现了一个有趣的特性,使用Python可以轻松调用C代码 开发者有三种方法可以在自己的Python代码中来调用C编写的函数-ctypes,SWIG,Python/C API.每 ...
- 记录一下filter
filter是什么,如它的字面意思,就是拦截器.它可以在request到达相关资源之前,比如servlet之前先处理requeset,也可以拦截或处理从某个资源比如servlet发出的response ...
- python_14(js)
第1章 图片方法 1.1 设置背景图:1.2 背景图问题:1.3 background-repeat; noa-repe 1.4 background-attachment: fixed1.5 bac ...
- hdu1754I Hate It(splay)
链接 线段树的水题,拿来学习一下splay. 本题涉及到求最大值以及单点更新,折腾了许久,差不多把splay搞明白了. 按位置建树,按位置是一颗排序二叉树,对于区间的操作非常方便,每次操作都将需要的结 ...
- 系统讲解一下,Dao,Entity,Servlet,Action各自有什么东西-Java/Web开发
dao 主要是一些接口,里面定义了一些用于增删改查的方法名 daoImpl 就是对dao的具体实现 Service 同上,也是一些接口,主要是用来调用dao层的一些方法,所以这里定义的方法一般都定义好 ...
- myBati初学
创建数据库(y2165) MyBatis环境搭建1.在pom.xml引入依赖2.得替换build节点,为了让程序编译在main中所有子包下的配置文件3.构建大配置,位于resources<?xm ...
- chrome浏览器好用的一些插件
1. Listen 1(听音乐) 2. The Great Suspender(定时释放chrome 打开的页面内存) 3. Similar Web(页面流量分析) 4. Advertising Te ...