//luogu:993779 bilibili:FurippuWRY
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
#define do1 261.626
#define re1 293.665
#define mi1 329.629
#define fa1 349.228
#define so1 391.995
#define la1 440.000
#define si1 493.883
#define do2 523.251
#define re2 587.330
#define mi2 659.255
#define fa2 698.456
#define so2 783.991
#define la2 880.000
#define si2 987.767
int main()
{
ios::sync_with_stdio(false);
cin.tie(0), cout.tie(0);
cout<<"《国际歌》"<<endl;
Beep(0,900);
cout<<"起来,饥寒交迫的奴隶,"<<endl;
Beep(so1,600);
Beep(do2,900);
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(so1,300);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,600);
Beep(0,300);
cout<<"起来,全世界受苦的人!"<<endl;
Beep(la1,300);
Beep(re2,900);
Beep(do2,300);
Beep(si1,300);
Beep(la1,300);
Beep(so1,300);
Beep(fa1,300);
Beep(mi1,1800);
cout<<"满腔的热血已经沸腾,"<<endl;
Beep(so1,600);
Beep(do2,900);
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(so1,300);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
cout<<"要为了真理而斗争!"<<endl;
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(si1,600);
Beep(re2,600);
Beep(fa2,600);
Beep(si1,600);
Beep(do2,1200);
Beep(do2,300);
Beep(0,300);
cout<<"旧世界打个落花流水,"<<endl;
Beep(mi2,300);
Beep(re2,300);
Beep(si1,1200);
Beep(la1,300);
Beep(si1,300);
Beep(do2,300);
Beep(la1,300);
Beep(si1,1200);
Beep(so1,300);
cout<<"奴隶们起来起来!"<<endl;
Beep(so1,300);
Beep(fa1,300);
Beep(so1,300);
Beep(la1,900);
Beep(la1,300);
Beep(re2,900);
Beep(do2,300);
Beep(si1,1200);
Beep(si1,300);
Beep(0,300);
cout<<"不要说我们一无所有,"<<endl;
Beep(re2,600);
Beep(re2,900);
Beep(si1,300);
Beep(so1,300);
Beep(so1,300);
Beep(fa1,300);
Beep(so1,300);
Beep(mi2,1200);
Beep(do2,300);
cout<<"我们要做天下的主人!"<<endl;
Beep(la1,300);
Beep(si1,300);
Beep(do2,300);
Beep(si1,600);
Beep(re2,600);
Beep(do2,600);
Beep(la1,600);
Beep(so1,1200);
Beep(so1,300);
Beep(0,300);
cout<<"这是最后的斗争,"<<endl;
Beep(mi2,300);
Beep(re2,300);
Beep(do2,1200);
Beep(so1,900);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
Beep(0,300);
cout<<"团结起来到明天,"<<endl;
Beep(re2,450);
Beep(do2,150);
Beep(si1,1200);
Beep(la1,600);
Beep(so1,600);
Beep(so1,1200);
Beep(so1,300);
Beep(0,300);
cout<<"英特纳雄耐尔就一定要实现!"<<endl;
Beep(so1,600);
Beep(mi2,1200);
Beep(re2,600);
Beep(so1,600);
Beep(do2,1200);
Beep(si1,900);
Beep(si1,300);
Beep(la1,900);
Beep(so1,300);
Beep(la1,600);
Beep(re2,600);
Beep(re2,1200);
Beep(re2,300);
Beep(0,300);
cout<<"这是最后的斗争,"<<endl;
Beep(mi2,450);
Beep(re2,150);
Beep(do2,1200);
Beep(so1,900);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
Beep(0,300);
cout<<"团结起来到明天。"<<endl;
Beep(re2,450);
Beep(do2,150);
Beep(si1,1200);
Beep(la1,600);
Beep(so1,600);
Beep(mi2,1800);
cout<<"英特纳雄耐尔就一定要实现!"<<endl<<endl;
Beep(mi2,600);
Beep(so2,1200);
Beep(fa2,600);
Beep(mi2,600);
Beep(re2,900);
Beep(mi2,300);
Beep(fa2,600);
Beep(0,300);
Beep(fa2,300);
Beep(mi2,900);
Beep(mi2,300);
Beep(re2,900);
Beep(re2,300);
Beep(do2,1800);
cout<<"从来就没有什么救世主,"<<endl;
Beep(so1,600);
Beep(do2,900);
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(so1,300);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,600);
Beep(0,300);
cout<<"也不靠神仙皇帝。"<<endl;
Beep(la1,300);
Beep(re2,900);
Beep(do2,300);
Beep(si1,300);
Beep(la1,300);
Beep(so1,300);
Beep(fa1,300);
Beep(mi1,1800);
cout<<"要创造人类的幸福,"<<endl;
Beep(so1,600);
Beep(do2,900);
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(so1,300);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
cout<<"全靠我们自己。"<<endl;
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(si1,600);
Beep(re2,600);
Beep(fa2,600);
Beep(si1,600);
Beep(do2,1200);
Beep(do2,300);
Beep(0,300);
cout<<"我们要夺回劳动果实,"<<endl;
Beep(mi2,300);
Beep(re2,300);
Beep(si1,1200);
Beep(la1,300);
Beep(si1,300);
Beep(do2,300);
Beep(la1,300);
Beep(si1,1200);
Beep(so1,300);
cout<<"让思想冲破牢笼。"<<endl;
Beep(so1,300);
Beep(fa1,300);
Beep(so1,300);
Beep(la1,900);
Beep(la1,300);
Beep(re2,900);
Beep(do2,300);
Beep(si1,1200);
Beep(si1,300);
Beep(0,300);
cout<<"快把那炉火烧得通红,"<<endl;
Beep(re2,600);
Beep(re2,900);
Beep(si1,300);
Beep(so1,300);
Beep(so1,300);
Beep(fa1,300);
Beep(so1,300);
Beep(mi2,1200);
Beep(do2,300);
cout<<"趁热打铁才能成功。"<<endl;
Beep(la1,300);
Beep(si1,300);
Beep(do2,300);
Beep(si1,600);
Beep(re2,600);
Beep(do2,600);
Beep(la1,600);
Beep(so1,1200);
Beep(so1,300);
Beep(0,300);
cout<<"这是最后的斗争,"<<endl;
Beep(mi2,300);
Beep(re2,300);
Beep(do2,1200);
Beep(so1,900);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
Beep(0,300);
cout<<"团结起来到明天,"<<endl;
Beep(re2,450);
Beep(do2,150);
Beep(si1,1200);
Beep(la1,600);
Beep(so1,600);
Beep(so1,1200);
Beep(so1,300);
Beep(0,300);
cout<<"英特纳雄耐尔就一定要实现!"<<endl;
Beep(so1,600);
Beep(mi2,1200);
Beep(re2,600);
Beep(so1,600);
Beep(do2,1200);
Beep(si1,900);
Beep(si1,300);
Beep(la1,900);
Beep(so1,300);
Beep(la1,600);
Beep(re2,600);
Beep(re2,1200);
Beep(re2,300);
Beep(0,300);
cout<<"这是最后的斗争,"<<endl;
Beep(mi2,450);
Beep(re2,150);
Beep(do2,1200);
Beep(so1,900);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
Beep(0,300);
cout<<"团结起来到明天。"<<endl;
Beep(re2,450);
Beep(do2,150);
Beep(si1,1200);
Beep(la1,600);
Beep(so1,600);
Beep(mi2,1800);
cout<<"英特纳雄耐尔就一定要实现!"<<endl<<endl;
Beep(mi2,600);
Beep(so2,1200);
Beep(fa2,600);
Beep(mi2,600);
Beep(re2,900);
Beep(mi2,300);
Beep(fa2,600);
Beep(0,300);
Beep(fa2,300);
Beep(mi2,900);
Beep(mi2,300);
Beep(re2,900);
Beep(re2,300);
Beep(do2,1800);
cout<<"是谁创造了人类世界,"<<endl;
Beep(so1,600);
Beep(do2,900);
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(so1,300);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,600);
Beep(0,300);
cout<<"是我们劳动群众。"<<endl;
Beep(la1,300);
Beep(re2,900);
Beep(do2,300);
Beep(si1,300);
Beep(la1,300);
Beep(so1,300);
Beep(fa1,300);
Beep(mi1,1800);
cout<<"一切归劳动者所有,"<<endl;
Beep(so1,600);
Beep(do2,900);
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(so1,300);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
cout<<"哪能容得寄生虫!"<<endl;
Beep(si1,300);
Beep(re2,300);
Beep(do2,300);
Beep(si1,600);
Beep(re2,600);
Beep(fa2,600);
Beep(si1,600);
Beep(do2,1200);
Beep(do2,300);
Beep(0,300);
cout<<"最可恨那些毒蛇猛兽,"<<endl;
Beep(mi2,300);
Beep(re2,300);
Beep(si1,1200);
Beep(la1,300);
Beep(si1,300);
Beep(do2,300);
Beep(la1,300);
Beep(si1,1200);
Beep(so1,300);
cout<<"吃尽了我们的血肉,"<<endl;
Beep(so1,300);
Beep(fa1,300);
Beep(so1,300);
Beep(la1,900);
Beep(la1,300);
Beep(re2,900);
Beep(do2,300);
Beep(si1,1200);
Beep(si1,300);
Beep(0,300);
cout<<"一旦把他们消灭干净,"<<endl;
Beep(re2,600);
Beep(re2,900);
Beep(si1,300);
Beep(so1,300);
Beep(so1,300);
Beep(fa1,300);
Beep(so1,300);
Beep(mi2,1200);
Beep(do2,300);
cout<<"鲜红的太阳照遍全球!"<<endl;
Beep(la1,300);
Beep(si1,300);
Beep(do2,300);
Beep(si1,600);
Beep(re2,600);
Beep(do2,600);
Beep(la1,600);
Beep(so1,1200);
Beep(so1,300);
Beep(0,300);
cout<<"这是最后的斗争,"<<endl;
Beep(mi2,300);
Beep(re2,300);
Beep(do2,1200);
Beep(so1,900);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
Beep(0,300);
cout<<"团结起来到明天,"<<endl;
Beep(re2,450);
Beep(do2,150);
Beep(si1,1200);
Beep(la1,600);
Beep(so1,600);
Beep(so1,1200);
Beep(so1,300);
Beep(0,300);
cout<<"英特纳雄耐尔就一定要实现!"<<endl;
Beep(so1,600);
Beep(mi2,1200);
Beep(re2,600);
Beep(so1,600);
Beep(do2,1200);
Beep(si1,900);
Beep(si1,300);
Beep(la1,900);
Beep(so1,300);
Beep(la1,600);
Beep(re2,600);
Beep(re2,1200);
Beep(re2,300);
Beep(0,300);
cout<<"这是最后的斗争,"<<endl;
Beep(mi2,450);
Beep(re2,150);
Beep(do2,1200);
Beep(so1,900);
Beep(mi1,300);
Beep(la1,1200);
Beep(fa1,300);
Beep(0,300);
cout<<"团结起来到明天。"<<endl;
Beep(re2,450);
Beep(do2,150);
Beep(si1,1200);
Beep(la1,600);
Beep(so1,600);
Beep(mi2,1800);
cout<<"英特纳雄耐尔就一定要实现!"<<endl;
Beep(mi2,600);
Beep(so2,1200);
Beep(fa2,600);
Beep(mi2,600);
Beep(re2,900);
Beep(mi2,300);
Beep(fa2,600);
Beep(0,300);
Beep(fa2,300);
Beep(mi2,900);
Beep(mi2,300);
Beep(re2,900);
Beep(re2,300);
Beep(do2,1800);
return 0;
}
文章来源地址https://www.toymoban.com/news/detail-744765.html
文章来源:https://www.toymoban.com/news/detail-744765.html
到了这里,关于c语言实现播放国际歌的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!