#include<bits/stdc++.h>
#include <windows.h>
using namespace std;
bool fast_slow = true;
int cool_slow(){
	cout << endl;
	cout << "请记住" << endl;
	Sleep(1500);
	cout << "C++源代码是这样的:" << endl; 
	Sleep(1500);
	cout << "#include <bits/stdc++.h>" << endl;
	Sleep(1500);
	cout << "using namespace std;" << endl;
	Sleep(1500);
	cout << "函数类型 函数名(也可没有,也可多个)(带入变量){" << endl; 
	Sleep(1500);
	cout << "	你书写的代码;" << endl;
	Sleep(1500);
	cout << "}" << endl;
	Sleep(1500);
	cout << "int main(){" << endl;
	Sleep(1500);
	cout << "	ios::sync_wiht_stdio(false)" << endl;
	Sleep(1500);
	cout << "	cin.tie(0)" << endl;
	Sleep(1500); 
	cout << "	你书写的代码;" << endl;
	Sleep(1500);
	cout << "	return 0;" << endl;
	Sleep(1500);
	cout << "}" << endl;
	Sleep(1500);
	cout << "你记住了吗?(1表示记住;2表示没记住;3表示换)" << endl;
	int a;
	cin >> a; 
	Sleep(500);
	if (a == 1){
		cout << "你真厉害!\n";
		return true;
	}
	else if (a == 2){
		cout << "再记一遍!";
		return false;
	} 
	else if (a == 3){
		fast_slow = true;
	}
	else{
		cout << "你在乱打什么?";
		return false;
	}
	Sleep(1); 
}
int cool_fast(){
	cout << endl;
	cout << "请记住" << endl;
	Sleep(500);
	cout << "C++源代码是这样的:" << endl; 
	Sleep(500);
	cout << "#include <bits/stdc++.h>" << endl;
	Sleep(500);
	cout << "using namespace std;" << endl;
	Sleep(500);
	cout << "函数类型 函数名(也可没有,也可多个)(带入变量){" << endl; 
	Sleep(500);
	cout << "	你书写的代码;" << endl;
	Sleep(500);
	cout << "}" << endl;
	Sleep(500);
	cout << "int main(){" << endl;
	Sleep(500);
	cout << "	ios::sync_wiht_stdio(false)" << endl;
	Sleep(500);
	cout << "	cin.tie(0)" << endl;
	Sleep(500); 
	cout << "	你书写的代码;" << endl;
	Sleep(500);
	cout << "	return 0;" << endl;
	Sleep(500);
	cout << "}" << endl;
	Sleep(500);
	cout << "你记住了吗?(1表示记住;2表示没记住;3表示换)" << endl;
	int a;
	cin >> a; 
	Sleep(100);
	if (a == 1){
		cout << "你真厉害!\n";
		return true;
	}
	else if (a == 2){
		cout << "再记一遍!";
		return false;
	} 
	else if (a == 3){
		fast_slow = false;
	} 
	else{
		cout << "你在乱打什么?";
		return false;
	}
	Sleep(1000); 
}
int main(){
	cout << "你要快版还是慢版?(1是快,2是慢,乱打默认慢版)";
	int a;
	cin >> a;
	if (a == 1){
		fast_slow = true;
		while(true){
			if (cool_fast() == true){
			cout << " #######  ####### \n";
			cout << "##################\n";
			cout << " #!恭喜非常棒!# \n";
			cout << "  ##############  \n";
			cout << "   ############   \n";
			cout << "    ##########    \n";
			cout << "     ########     \n";
			cout << "      ######      \n";
			cout << "       ####       \n";
			cout << "        ##        \n\n";
				return 0;
			}
			else if (fast_slow == false){
				cool_slow();
			}
			else{
				cool_fast();
			}
			fast_slow = true;
		}
	}
	else{
		fast_slow = false;
		while(true){
			if (cool_slow ()== true){
				cout << "  #####    #####  \n";
				cout << " #######  ####### \n";
				cout << "##################\n";
				cout << " #!恭喜非常棒!# \n";
				cout << "  ##############  \n";
				cout << "   ############   \n";
				cout << "    ##########    \n";
				cout << "     ########     \n";
				cout << "      ######      \n";
				cout << "       ####       \n";
				cout << "        ##        \n\n";
				return 0;
			}
			else if (fast_slow == true){
				cool_fast();
			}
			else{
				cool_slow();
			}
			fast_slow = false;
		}
	}
	return 0;
}
v>