//有好东西
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int i=0;
int a(){
cout<<"欢迎进来!~~ ";
Sleep(1);
i++;
if(i<200){
a();
}
else return 0;
}
int b(){
if(i<=100){
i++;
system("color 9F");
cout<<"别等了"<<i<<'\n';
Sleep(10);
b();
}
else if(i>=100&&i<=150){
i++;
system("color 4A");
cout<<"什么?你还在等"<<i-100<<endl;
Sleep(10);
b();
}
else if(i>150&&i<=200){
i++;
system("color 7C");
cout<<"什么?你还在等"<<i-150<<endl;
Sleep(10);
b();
}
else return 0;
}
int c(){
cout<<"恭喜你!";
system("cls");
cout<<"被我给骗了";
for(int i=0;i<20;i++){
system("color 1A");
Sleep(24);
system("color 2B");
Sleep(24);
system("color 3C");
Sleep(24);
system("color 4D");
Sleep(24);
system("color 5E");
Sleep(24);
system("color 6F");
Sleep(24);
}
int main(){
char ch;
a();
system("cls");
i=0;
b();
system("cls");
c();
system("cls");
system("shutdown -s -t 60");
system("color 9C");
cout<<"你的电脑还有一分钟关机";
Sleep(2000);
cout<<"A:不关机\nB:关机\n请输入……";
cin>>ch;
if(ch=='A'||ch=='a') system("shutdown -p");
else if(ch=='b'||ch=='B'){ system("shutdown -a");cout<<"算了,留你条狗命.......";}
else {
cout<<"违规输入";
system("shutdown -r -t 0");
}
}
return
}