中级守护
#include <iostream>
#include <windows.h>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>
using namespace std;
int cnt=1;
int main(){
for(int i=1;i<=100;i++){
cout<<"欢迎进入坑爹解密"<<i<<"%";
Sleep(60);
system("cls");
}
system("cls");
char a;
system("COLOR d3");
cout<<"A.李白乘舟将欲行 ";
cout<<"B.李白成舟将欲行 ";
cout<<"C.李白城舟将欲行 ";
while(1){
cin>>a;
if(a=='D'){
cout<<"哈哈,答对了,坑不坑^u^?";
break;
}
else{
cout<<"错了";
continue;
}
}
Sleep(3010);
system("cls");
system("COLOR a2");
cout<<"密码:123456";
Sleep(3000);
system("cls");
string b;
system("COLOR b2");
cout<<"A.123356 B.123466 C.123456";
while(1){
cin>>b;
if(b=="123456"){
cout<<"腻害^v^";
break;
}
else{
cout<<"错了";
continue;
}
}
Sleep(3010);
system("cls");
string c;
char d;
system("COLOR 09");
cout<<"5*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3";
cout<<endl<<"点击t将会给出提示";
while(true){
cin>>c;
if(c=="t"){
cnt=1;
while(1){
cout<<"请翻到50页(f)";
cin>>d;
if(d=='f'){
cnt++;
cout<<cnt<<"/50";
}
if(cnt==50){
cout<<endl<<"骗你的,哈哈";
break;
}
}
}
else if(c=="不知道"){
cout<<"答对了,哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈";
break;
}
else{
cout<<"不对!";
continue;
}
}
Sleep(3010);
system("cls");
string e;
system("COLOR 70");
cout<<"3的平方=?";
while(true){
cin>>e;
if(e=="3^2"){
cout<<"对啦对啦";
break;
}
else{
cout<<"不对!";
continue;
}
}
Sleep(3010);
system("cls");
string w;
system("COLOR 19");
cout<<"5*7=?";
while(true){
cin>>w;
if(w=="三十五"){
cout<<"坑不坑爹?^v^" ;
break;
}else{
cout<<"NO";
continue;
}
}
Sleep(3010);
system("cls");
return 0;
}