最近总是听到xxs对暗号:
“爱你孤身走暗巷”
“爱你不归的模样”
于是我就做了一个孤勇者的音乐来给大家听:
#include<bits/stdc++.h>
#include <windows.h>
using namespace std;
#define l1 262
#define l2 294
#define l3 330
#define l4 349
#define l5 392
#define l6 440
#define l7 493
#define n1 532
#define n2 588
#define n3 660
#define n4 698
#define n5 784
#define n6 880
#define n7 988
#define h1 1046
#define h2 1175
#define h3 1319
#define h4 1397
#define h5 1568
#define h6 1760
#define h7 1976
#define A 1600*1.25 //四拍
#define B 800*1.25 //两拍
#define C 400*1.25 //一拍
#define D 200*1.25 //半拍
#define E 100*1.25 //1/4拍
#define F 50*1.25 //1/8拍
#define S(i) Sleep(i)
void hide() {
CONSOLE_CURSOR_INFO cursor;
cursor.bVisible=0;
cursor.dwSize=1;
SetConsoleCursorInfo(GetStdHandle(-11),&cursor);
}
void change(int size=30) {
CONSOLE_FONT_INFOEX a;
a.cbSize=sizeof a;
a.nFont=0;
a.dwFontSize.X=0;
a.dwFontSize.Y