问题标题: 酷町堂:金光工作室-----------x服务器2.0版

0
0
已解决
熊智晖
熊智晖
高级天翼
高级天翼
#include<iostream>
#include<bits/stdc++.h>
#include<windows.h>
#include<winioctl.h>
#include<assert.h>
#include<ctype.h>
#include<cstdlib>
#include<errno.h>
#include<float.h>
#include<fstream>
#include<cstdio>
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<wchar.h>
#include<wctype.h>
#include<algorithm>
#include<bitset>
#include<cctype>
#include<cerrno>
#include<clocale>
#include<cmath>
#include<complex>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<deque>
#include<exception>
#include<fstream>
#include<functional>
#include<limits>
#include<list>
#include<map>
#include<iomanip>
#include<ios>
#include<iosfwd>
#include<istream>
#include<ostream>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<stdexcept>
#include<streambuf>
#include<string>
#include<utility>
#include<vector>
#include<cwchar>
#include<cwctype>
#include<complex.h>
#include<fenv.h>
#include<inttypes.h>
#include<stdbool.h>
#include<stdint.h>
#include<tgmath.h>
#include<assert.h>
#define CLS SetPos(1000,1000) 
#include<ctype.h>
#include<errno.h>
#include<float.h>
#include<fstream>
#include<iomanip>
#include<limits.h>
#include<locale.h>
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<wchar.h>
#include<wctype.h>
#include<algorithm>
#include<bitset>
#include<cctype>
#include<cerrno>
#include<clocale>
#include<cmath>
#include<complex>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<deque>
#include<cmath>
#include<algorithm>
#include<string>
#include<conio.h>
#include<windows.h>
#include<iomanip>
#include<bits/stdc++.h>
#include<exception>
#include<fstream>
#include<functional>
#include<limits>
#include<list>
#include<map>
#include<iomanip>
#include<ios>
#include<iosfwd>
#include<iostream>
#include<istream>
#include<ostream>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<stdexcept>
#include<streambuf>
#include<string>
#include<utility>
#include<vector>
#include<cwchar>
#include<cwctype>
#include<complex.h>
#include<fenv.h>
#include<inttypes.h>
#include<stdbool.h>
#include<conio.h>
#include <winable.h> 
#pragma GCC optimize(2)
#define qdo 262 
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#include<vector> 
#include<cstring>
#include<string>
#include<cstdlib>
#include<cmath>
#include<ctime>
#include<windows.h>
#include<fstream>
#include<iomanip>
#include<conio.h>
#define qdo 262 
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#pragma GCC diagnostic error "-std=c++11"
#pragma GCC target("avx")
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC optimize("-fgcse")
#pragma GCC optimize("-fgcse-lm")
#pragma GCC optimize("-fipa-sra")
#pragma GCC optimize("-ftree-pre")
#pragma GCC optimize("-ftree-vrp")
#pragma GCC optimize("-fpeephole2")
#pragma GCC optimize("-ffast-math")
#pragma GCC optimize("-fsched-spec")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-falign-jumps")
#pragma GCC optimize("-falign-loops")
#pragma GCC optimize("-falign-labels")
#pragma GCC optimize("-fdevirtualize")
#pragma GCC optimize("-fcaller-saves")
#pragma GCC optimize("-fcrossjumping")
#pragma GCC optimize("-fthread-jumps")
#pragma GCC optimize("-funroll-loops")
#pragma GCC optimize("-fwhole-program")
#pragma GCC optimize("-freorder-blocks")
#pragma GCC optimize("-fschedule-insns")
#pragma GCC optimize("inline-functions")
#pragma GCC optimize("-ftree-tail-merge")
#pragma GCC optimize("-fschedule-insns2")
#pragma GCC optimize("-fstrict-aliasing")
#pragma GCC optimize("-fstrict-overflow")
#pragma GCC optimize("-falign-functions")
#pragma GCC optimize("-fcse-skip-blocks")
#pragma GCC optimize("-fcse-follow-jumps")
#pragma GCC optimize("-fsched-interblock")
#pragma GCC optimize("-fpartial-inlining")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("-freorder-functions")
#pragma GCC optimize("-findirect-inlining")
#pragma GCC optimize("-fhoist-adjacent-loads")
#pragma GCC optimize("-frerun-cse-after-loop")
#pragma GCC optimize("inline-small-functions")
#pragma GCC optimize("-finline-small-functions")
#pragma GCC optimize("-ftree-switch-conversion")
#pragma GCC optimize("-foptimize-sibling-calls")
#pragma GCC optimize("-fexpensive-optimizations")
#pragma GCC optimize("-funsafe-loop-optimizations")
#pragma GCC optimize("inline-functions-called-once")
#pragma GCC optimize("-fdelete-null-pointer-checks")
#pragma GCC optimize(3)
#include<bits/stdc++.h>
#include<windows.h>
#include<cstdio>
#include<iostream>
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
using namespace std;
int main(){ 

	double q,c;
	cout<<"\n\n\n\n\n\n\t\t\t\t\t\t欢迎来到x服务器2.0版"; 
	system("color 12");
	system("color 23");
	system("color 34");
	system("color 45");
	system("color 56");
	system("color 67");
	system("color 78");
	system("color 81");
	system("color 12");
	system("color 23");
	system("color 34");
	system("color 45");
	system("color 56");
	system("color 12");
	system("color 23");
	system("color 34");
	system("color 45");
	system("color 56");
	system("color 67");
	system("color 78");
	system("color 81");
	system("color 12");
	system("color 23");
	system("color 34");
	system("color 45");
	system("color 56");
	system("color 12");
	system("color 23");
	system("color 34");
	system("color 45");
	system("color 56");
	system("color 67");
	system("color 78");
	system("color 81");
	system("color 12");
	system("color 23");
	system("color 34");
	system("color 45");
	system("color 56");
	system("color 12");
	system("color 23");
	system("color 01");
    Sleep(1000); 
    {
        for(int kai;kai<=101;kai++){
            if(q>=100){
                system("cls");
                cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t 加载完成!";
                Sleep(2000);
                break;
            }
            cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t  "<<q<<"%";
            Sleep(30);
            q+=1;
            system("cls");
            
        }
    }
	system("cls");
	Sleep(1000);
	cout<<"输入你的名字";
    string a;
    cin>>a;
    Sleep(500);
    cout<<"\n\n你好,"<<a<<"。加油!"; 
    Sleep(2000);
    system("cls");
    cout<<"\n\n\n\n\n"<<"\t\t\t\t抵制不良游戏";
	cout<<" "<<"\t\t\t拒绝盗版游戏";
	Sleep(500);
    cout<<"\n"<<"\t\t\t\t注意自我保护"; 
    cout<<" "<<"\t\t\t谨防受骗上当"; 
    Sleep(500);
    cout<<"\n"<<"\t\t\t\t适度游戏益脑"; 
    cout<<" "<<"\t\t\t沉迷游戏伤身";
	Sleep(500); 
    cout<<"\n"<<"\t\t\t\t合理安排时间"; 
    cout<<" "<<"\t\t\t享受健康生活"; 
    Sleep(3000);
    system("cls");
    cout<<"作者:";
    Sleep(300);
    cout<<"熊";
    Sleep(300);
    cout<<"智";
    Sleep(300);
    cout<<"晖";
    Sleep(900);
    cout<<"\n出版:金光工作室\n 宫 成 LV.6(室 长)\n张 恩 昊LV.4(推荐组)\n熊 智 晖LV.5(开发组)\n张 百 川LV.6(开发组)\n张 以 沫LV.7(修改组)\n包 涵 宇LV.9(副室长)\n谭 迪 元LV.8(修改组)\n李 子 杰LV.7(开发组)\n李 明 昕LV.6(开发组)\n王 文 博LV.6(修改组)" ; 
    Sleep(3000);
    system("cls");
    cout<<"\n\n\n\n\n\t\t\t\t   ____________________________________________________";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t       1.小游戏  \t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t       2.关机代码\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
		Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t       3.退出游戏\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t       4.音乐    \t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t       5.其他    \t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |\t\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  |版本:2.0"<<"\t\t\t\t\t       |";
        Sleep(60);
        cout<<"\n\t\t\t\t  -----------------------------------------------------\n\t\t\t\t\t\t\t 请输入:"; 
        int b;
        cin>>b;
        if(b==1){
        	int w;
        	int z1,z2,z3,hhyx=100;
        	cout<<"1.我的10分钟课间		2.坑爹解密		3.坑爹荣耀";
        	cin>>w;
        		if(w==1){
	        	   system("cls");
				   cout<<"|--------------------------------|\n";
				   cout<<"|       <<我的10分钟课间>>       |\n"; 
				   cout<<"|  大家好!我是莉莉,今天我将带大|\n";
				   cout<<"|家看看我的课间,课间有两个地方玩|\n";
				   cout<<"|第一个地方是操场,第二个地方是小|\n";
				   cout<<"|树林。                          |\n";
				   cout<<"|  大家在操场踢球,跑步,跳绳踢球|\n";
				   cout<<"|的人最多,只见一个男孩将球踢向了|\n";
				   cout<<"|门框,可惜球未能进去,被手门员的|\n";
				   cout<<"|那冷酷的手挡住了,但是他并没有放|\n";
				   cout<<"|弃,他抓准时机射出了一个完美的弧|\n";
				   cout<<"|线球,成功进门了!!!          |\n";
				   cout<<"|  小树林之繁茂盛,他们在里面玩鬼|\n";
				   cout<<"|抓人,捉迷藏,还有人模仿特种兵。|\n";
				   cout<<"|  这就是我的课间,再见了!      |\n";
				   cout<<"|                                |\n";
				   cout<<"|--------------------------------|\n";
				   Sleep(20000);
				   system("cls");
				   cout<<"1.介绍课间的人是?";
				   cout<<"1.丽丽 2.莉莉 3.李春辉";
				   cin>>z1;
				   if(z1==1||z1==3){
				        cout<<"你错了!再接再厉"; 
				   }else{
				        cout<<"恭喜你!答对了"; 
				   }
				   Sleep(500);
				   system("cls");
				   cout<<"2.课间有哪些地方可以玩?";
				   cout<<"1.花园and草坪 2.办公室and小树林 3.操场and小树林";
				   cin>>z2;
				   if(z2==1||z2==2){
				        cout<<"你错了!再接再厉"; 
				   }
				   else if(z1==2&&z2==3){
				        cout<<"答对两次了!加油"; 
				   }
				   else{
				        cout<<"答对了,你真棒!"; 
				   }
				   Sleep(500);
				   system("cls");
				   cout<<"3.作者主要描写了操场哪个运动?";
				   cout<<"1.踢球 2.跳绳 3.跑步";
				   cin>>z3;
				   if(z3==2||z3==3){
				        cout<<"你打错了,再接再厉!"; 
				   } 
				   else if(z3==1&&z2==3&&z1==2){
				        cout<<"全答对了!你真厉害!!!"; 
				   }
				   else{
				        cout<<"答对了,真棒"; 
				   }
				   Sleep(1000);
				   system("cls");
				   cout<<"您考了";
				        if(z3==1&&z2!=3&&z1!=2){
				            cout<<hhyx-34-33;
				            cout<<"分";
				        }
				        else if(z3!=1&&z2==3&&z1!=2){
				            cout<<hhyx-33-33;
				            cout<<"分";
				        }
				        else if(z3!=1&&z2!=3&&z1==2){
				            cout<<hhyx-33-34;
				            cout<<"分";
				        }
				        else if(z3==1&&z2==3&&z1!=2){
				            cout<<hhyx-33;
				            cout<<"分";
				        }
				        else if(z3!=1&&z2==3&&z1==2){
				            cout<<hhyx-33;
				            cout<<"分";
				        }
				        else if(z3==1&&z2!=3&&z1==2){
				            cout<<hhyx-34;
				            cout<<"分";
				        }
				        else if(z3==1&&z2==3&&z1!=2){
				            cout<<hhyx;
				        }
				        else if(z3!=1&&z2!=3&&z1!=2){
				            cout<<hhyx-34-33-33;
				            cout<<"分"; 
				        }
				        else if(z3==1&&z2==3&&z1==2){
				            cout<<hhyx;
				            cout<<"分";
				        }
				}
				if(w==2){
					int cnt=1;
				    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");
			}
			if(w==3){
			    cout<<"欢迎来到坑爹荣耀"<<endl<<endl;
			    Sleep(2000);
			    cout<<"选择版本"<<endl<<endl;
			    Sleep(2000);
			    cout<<"坑爹荣耀1.0 (1)   坑爹荣耀2.0 (2)"<<endl<<endl;
			    int z;
			    cin>>z;
			    if(z==1){
			         int a;
			Sleep(2000);
			cout<<"欢迎来到坑爹荣耀1.0"<<endl<<endl;
			Sleep(2000);
			cout<<"选服务器"<<endl<<endl;
			Sleep(2000);
			cout<<"坑娘荣耀 1"<<" "<<"坑爹荣耀 2"<<" "<<"安全荣耀(测试服) 3"<<endl;
			cin>>a;
			if(a==1||a==3){
			    cout<<"你TM还真信了!!!!!!!"<<endl<<endl;
			    cout<<"你的电脑将在10000000000000000秒后关机!!!!!!!"<<endl<<endl; 
			
			    cout<<"哈哈哈哈!!!!!!"; 
			 
			}else{
			    cout<<"你选对了"<<endl<<endl;
			    cout<<"但是"<<endl<<endl;
			    cout<<"你的电脑将在10000000000秒后关机!!!!!!"; 
			    cout<<"哈哈哈哈!!!!!!"; 
			}
			if(a==0){
			    cout<<"你赢了,坑不了你"<<endl<<endl;
			    Sleep(1000);
			    cout<<"让我帮你关电脑吧!!!!!!";
			    cout<<"你的电脑将在30秒后关机!!!!!!"; 
			    cout<<"哈哈哈哈!!!!!!"; 
			} 
			    }
			    if(z==2){
			        int a;
			cout<<"欢迎来到坑爹荣耀2.0"<<endl<<endl;
			Sleep(2000);
			cout<<"作者: ";
			Sleep(1500);
			cout<<"高";
			Sleep(1500);
			cout<<"富";
			Sleep(1500);
			cout<<"帅"<<endl<<endl;
			Sleep(1500); 
			cout<<"请用数字输入"<<endl<<endl; 
			Sleep(2000);
			cout<<"选服务器"<<endl<<endl;
			Sleep(2000);
			cout<<"作者最牛 0    "<<"坑娘荣耀 1    "<<"坑爹荣耀 2    "<<"安全荣耀(测试服) 3"<<endl;
			cin>>a;
			if(a==1||a==3){
			    cout<<"你TM还真信了!!!!!!!"<<endl<<endl;
			    Sleep(2000);
			    cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl;
			    Sleep(1000);
			    cout<<"给你一个机会吧"<<endl<<endl;
			    Sleep(1500);
			    cout<<"问你三个问题"<<endl<<endl; 
			    Sleep(1500); 
			    cout<<"(1) 作者牛不牛(牛1,不牛2)"<<endl<<endl;
			    int b;
			    cin>>b;
			    if(b==1){
			        cout<<"劳资最喜欢你这样诚实的人了"<<endl<<endl;
			        Sleep(1500);  
			    }else{
			        cout<<"你胆真大"<<endl<<endl;
			        Sleep(1000);
			        cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl;
			    
			    Sleep(1000);
			    cout<<"哈哈哈哈!!!!!!"; 
			    } 
			    cout<<"(2) 作者帅不帅(帅1,不帅2)"<<endl<<endl;
			    int c;
			    cin>>c;
			    if(c==1){
			        cout<<"劳资最喜欢你这样诚实的人了"<<endl<<endl;
			        Sleep(1500);  
			    } 
			    else{
			        cout<<"你胆真大"<<endl<<endl;
			        Sleep(1000);
			        cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl;
			    Sleep(1000);
			    cout<<"哈哈哈哈!!!!!!"; 
			    } 
			    cout<<"(3) 作者骚不骚(骚1,不骚2)"<<endl<<endl;
			    int d;
			    cin>>d;
			    if(d==1){
			        cout<<"劳资最喜欢你这样诚实的人了"<<endl<<endl;
			        Sleep(1500);
			        cout<<"饶你一条狗命"<<endl<<endl;
			        Sleep(1500);
			        return 0;  
			    }else{
			        cout<<"你胆真大"<<endl<<endl;
			        Sleep(1000);
			        cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl ; 
			    Sleep(1000);
			    cout<<"哈哈哈哈!!!!!!";
			    return 0; 
			    } 
			}if(a==0){
			    cout<<"你赢了,坑不了你"<<endl<<endl;
			    Sleep(1000);
			    cout<<"让劳资帮你关电脑吧!!!!!!"<<endl<<endl;
			    Sleep(1000);
			    cout<<"你的电脑将在30秒后关机!!!!!!"<<endl<<endl; 
			
			    cout<<"哈哈哈哈!!!!!!";
			} 
			if(a==2){
			    cout<<"你选对了"<<endl<<endl;
			    Sleep(1000);
			    cout<<"但是"<<endl<<endl;
			    Sleep(1000);
			    cout<<"!!!!!!"<<endl<<endl; 
			    Sleep(1000); 
			    cout<<"哈哈哈哈!!!!!!"; 
			}
			} 
		 }
			if(w==4) {
				cout<<"欢迎来到猜数字小游戏1.0版,制作:金光工作室";
			    Sleep(1000);
			    cout<<"加油";
			    system("cls");
			    long long z1,z2,z3,z4,z5,z6,z7,z8,z9=1,z10=20;
			    cout<<"输入分数,和猜的数字"; 
			    cin>>z1>>z2;
			    Sleep(2000);
			    system("cls");
			    cout<<"输入猜的数"; 
			    cin>>z3;
			    if(z3==z1){
			        cout<<"Yes";
			        z2+=5;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			    } 
			    else{
			        cout<<"No";
			        z2-=1;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			        if(z3>z1){
			            cout<<" "<<"大了"; 
			        }
			        else{
			            cout<<" "<<"小了"; 
			        }
			        cin>>z3;
			            if(z3==z1){
			        cout<<"Yes";
			        z2+=4;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			    } 
			    else{
			        cout<<"No";
			        z2-=2;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			        if(z3>z1){
			            cout<<" "<<"大了"; 
			        }
			        else{
			            cout<<" "<<"小了"; 
			        }
			        cin>>z3;
			        if(z3==z1){
			        cout<<"Yes";
			        z2+=3;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			    }
			    if(z3==z1){
			        cout<<"Yes";
			        z2+=3;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			    } 
			    else{
			        cout<<"No";
			        z2-=3;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			        }if(z3>z1){
			            cout<<" "<<"大了"; 
			        }
			        else{
			            cout<<" "<<"小了"; 
			        }
			        cin>>z3;
			            if(z3==z1){
			        cout<<"Yes";
			        z2+=3;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			    } 
			    else{
			        cout<<"No";
			        z2-=3;
			        cout<<" ";
			        cout<<"得分:"<<z2;
			        if(z3>z1){
			            cout<<" "<<"大了"; 
			        }
			        else{
			            cout<<" "<<"小了"; 
			        }
			        cout<<endl;
			        cout<<"你失败了!再试一次"; 
			        system("cls");
			        cout<<"是"<<z2; 
			    }
			    }
			    }
			    cin>>z8;
			    cout<<"zzz"; 
			    if(z8==54188){
			        cout<<"彩蛋(建议不要开)";
			        cout<<"要开吗?  输入1开 输入2不开";
			        Sleep(5000);
			        system("cls");
			        cin>>z6;
			        if(z6==1){
			            cout<<"哈哈,说了不要开还是开了,答3个问题答错电脑关机,答对饶你1命!";
			            cout<<"作者帅不帅?  1帅  2不帅"; 
			            cin>>z4;
			            if(z4==1){
			                cout<<"对了,下一题"; 
			            }
			            else{
			                cout<<"电脑关机!!!!!!!!!!!!!!!!!!!!!!";
			                    Sleep(10000); 
			                    system("shutdown -s -t 1"); 
			            }
			            cout<<"你厉不厉害?  1厉害 2不厉害";
			            cin>>z5;
			            if(z4==1){
			                cout<<"对了,下一题"; 
			            }
			            else{
			                cout<<"对自己太没自信了!";
			                Sleep(1000); 
			                cout<<"电脑关机!!!!!!!!!!!!!!!!!!!!!!";
			                    Sleep(10000); 
			                    system("shutdown -s -t 1"); 
			            }
			            cout<<"你能加入我的工作室吗?   1.好的  2.NO";
			            cin>>z7;
			            if(z7==1||z7==2){
			                cout<<"好的,再见祝你玩得愉快,之后有游戏要再玩哦!"; 
			            }
			             
			    }
			}
			
			}
			}	
		
		if(b==2){
			cout<<"1.10秒   2.30秒    3.60秒	4.10分钟	5.30分钟	6.1小时		7.2小时		8.12小时	9.24小时";
			cout<<"\n选择秒数:";
			int d;
			cin>>d;
			if(d==1){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 10");
				cout<<"你的电脑将在10秒后关机"; 			
			}
			if(d==2){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 30");
				cout<<"你的电脑将在30秒后关机"; 
			}
			if(d==3){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 60");
				cout<<"你的电脑将在60秒后关机"; 
			}
			if(d==4) {
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 600");
				cout<<"你的电脑将在10分钟后关机"; 
			}
			if(d==5){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 1800");
				cout<<"你的电脑将在30分钟后关机"; 
			}
			if(d==6){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 3600");
				cout<<"你的电脑将在1小时后关机"; 
			}
			if(d==7){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 7200");
				cout<<"你的电脑将在2小时后关机"; 
			}
			if(d==8){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 43200");
				cout<<"你的电脑将在12小时后关机"; 
			}
			if(d==9){
				cout<<"此程序安全无危害\n\n"; 
				system("shutdown -s -f -t 86400");
				cout<<"你的电脑将在24小时后关机"; 
			}
		}
		if(b==3){
			return 0;	
		}
		if(b==4){
			system("cls");
			cout<<"	1.黑人抬棺		2.天空之城";
			int fafa;
			cin>>fafa;
			if(fafa==1){
				system("cls");
				const int _oC = 277, _oD = 311, _oF = 370, _oG = 415, _oA = 466;
				const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
				const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
				const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
				const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
				const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
				const int T = 300; //一拍的长度
				const int Stop = 800; //一拍休止符的长度
    			cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
    			cout<<"                            请收听:黑人抬棺!";
    			for(int i=1;i>=0;i++){
        		Beep(D,T*2);
		        Beep(D,T);
		        Beep(A,T);
		        Beep(G,T*2);
		        Beep(F,T*2);
		        Beep(E,T*2);
		        Beep(E,T);
		        Beep(E,T);
		        Beep(G,T*2);
		        Beep(F,T);
		        Beep(E,T);
		        Beep(D,T*2);
		        Beep(D,T);
		        Beep(F,T);
		        Beep(E,T);
		        Beep(F,T);
		        Beep(E,T);
		        Beep(F,T);
		        Beep(D,T*2);
		        Beep(D,T);
		        Beep(F,T);
		        Beep(E,T);
		        Beep(F,T);
		        Beep(E,T);
		        Beep(F,T);
		        Beep(D,T*2);
		        Beep(D,T);
		        Beep( F, T );
		        Beep( E, T );
		        Beep( F, T );
		        Beep( E, T );
		        Beep(F,T);
		        Beep( D, T );
		        Beep( D, T );
		        Beep( F, T );
		        Beep( F, T );
		        Beep( E, T );
		        Beep( E, T );
		        Beep( G, T );
		        Beep( G, T );
		        Beep( G, T );
		        Beep( G, T );
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T);
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T );
		        Beep( A, T);
		        Beep( A, T);
		        Beep( F, T );
		        Beep( E, T );
		        Beep( D, T);
		        Beep( C, T);
    			}
    		} 
    			if(fafa==2){	
    				int pai=400,ban=200;
					int ting=128;
					system("cls");
					Sleep(1000);
					cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
    			cout<<"                            请收听:天空之城!";
					Beep(la,ban);
					Beep(si,ban);
					Sleep(ting);
					 
					Beep(do1,pai+ban);
					Beep(si,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					 
					Beep(si,3*pai);
					Sleep(ting);
					Beep(mi,ban);
					Beep(mi,ban);
					 
					Beep(la,ban+pai);
					Beep(so,ban);
					Sleep(ting);
					Beep(la,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(so,2*pai);
					Sleep(ting);
					Sleep(pai);
					Beep(mi,ban);
					Sleep(ting/2);
					Beep(mi,ban);
					Sleep(ting/2);
					 
					Beep(fa,pai+ban);
					Beep(mi,ban);
					Sleep(ting);
					Beep(fa,ban);
					Beep(do1,ban+pai);
					Sleep(ting);
					 
					Beep(mi,2*pai);
					Sleep(ting);
					Sleep(ban);
					Beep(do1,ban);
					Sleep(ting/2);
					Beep(do1,ban);
					Sleep(ting/2);
					Beep(do1,ban);
					Sleep(ting/2);
					 
					Beep(si,ban+pai);
					Beep(sfa,ban);
					Sleep(ting);
					Beep(sfa,pai);
					Beep(si,pai);
					Sleep(ting);
					 
					Beep(si,2*pai);
					Sleep(ting);
					Sleep(pai);
					Beep(la,ban);
					Beep(si,ban);
					Sleep(ting);
					 
					Beep(do1,pai+ban);
					Beep(si,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					 
					Beep(si,2*pai);
					Sleep(ting);
					Sleep(pai);
					Beep(mi,ban);
					Sleep(20);
					Beep(mi,ban);
					Sleep(ting);
					 
					Beep(la,pai+ban);
					Beep(so,ban);
					Sleep(ting);
					Beep(la,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(so,3*pai);
					Sleep(ting+ban);
					Beep(mi,ban);
					Sleep(ting/2);
					 
					Beep(fa,pai);
					Sleep(ting);
					Beep(do1,ban);
					Beep(si,ban);
					Sleep(20);
					Beep(si,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(re1,ban);
					Sleep(20);
					Beep(re1,ban);
					Sleep(20);
					Beep(mi1,ban);
					Sleep(ting/2);
					Beep(do1,pai);
					Sleep(ting+pai);
					 
					Beep(do1,pai);
					Beep(si,ban);
					Sleep(ting);
					Beep(la,ban);
					Sleep(20);
					Beep(la,ban);
					Sleep(ting);
					Beep(si,pai);
					Sleep(ting);
					Beep(sso,pai);
					Sleep(ting);
					 
					Beep(sso,2*pai);
					Sleep(ting+pai);
					Beep(do1,ban);
					Beep(re1,ban);
					Sleep(ting);
					 
					Beep(mi1,pai+ban);
					Beep(re1,ban);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					Beep(fa1,pai);
					Sleep(ting);
					 
					Beep(re1,2*pai);
					Sleep(pai+ting);
					Beep(so,ban);
					Sleep(20);
					Beep(so,ban);
					Sleep(ting);
					 
					Beep(do1,ban);
					Beep(si,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					 
					Beep(mi1,2*pai);
					Sleep(ting+2*pai);
					 
					Beep(la,ban);
					Beep(si,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					Beep(si,pai);
					Sleep(ting);
					Beep(re1,ban);
					Sleep(20);
					Beep(re1,ban);
					Sleep(ting);
					 
					Beep(do1,pai+ban);
					Beep(so,ban);
					Sleep(20);
					Beep(so,pai);
					Sleep(pai+ting);
					 
					Beep(fa1,pai);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					Beep(re1,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(mi1,4*pai);
					 
					Beep(mi1,pai*2);
					Sleep(pai+ting);
					Beep(mi1,pai);
					Sleep(ting);
					 
					Beep(la1,2*pai);
					Sleep(ting);
					Beep(so1,pai);
					Sleep(ting);
					Beep(so1,pai);
					Sleep(ting);
					 
					Beep(mi1,ban);
					Sleep(ting/2);
					Beep(re1,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting+ban);
					Beep(do1,ban);
					Sleep(ting);
					 
					Beep(re1,pai);
					Sleep(ting);
					Beep(do1,ban);
					Beep(re1,ban);
					Sleep(20);
					Beep(re1,ban);
					Sleep(ting);
					Beep(so1,pai);
					Sleep(ting);
					 
					Beep(mi1,2*pai);
					Sleep(ting+pai);
					Beep(mi,pai);
					Sleep(ting);
					 
					Beep(la1,2*pai);
					Sleep(ting);
					Beep(so1,2*pai);
					Sleep(ting);
					 
					Beep(mi1,ban);
					Beep(re1,ban);
					Sleep(ting);
					Beep(do1,2*pai);
					Sleep(ting+ban);
					Beep(do1,ban);
					Sleep(ting);
					 
					Beep(re1,pai);
					Sleep(ting);
					Beep(do1,ban);
					Beep(re1,ban);
					Sleep(20);
					Beep(re1,ban);
					Sleep(ting);
					Beep(si,pai);
					Sleep(ting);
					 
					Beep(la,2*pai);
					Sleep(ting);
					Beep(la,ban);
					Beep(si,ban);
					 
					Beep(do1,pai+ban);
					Beep(si,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					 
					Beep(si,3*pai);
					Sleep(ting);
					Beep(mi,ban);
					Beep(mi,ban);
					 
					Beep(la,ban+pai);
					Beep(so,ban);
					Sleep(ting);
					Beep(la,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(so,2*pai);
					Sleep(ting);
					Sleep(pai);
					Beep(mi,ban);
					Sleep(ting/2);
					Beep(mi,ban);
					Sleep(ting/2);
					 
					Beep(fa,pai+ban);
					Beep(mi,ban);
					Sleep(ting);
					Beep(fa,ban);
					Beep(do1,ban+pai);
					Sleep(ting);
					 
					Beep(mi,2*pai);
					Sleep(ting);
					Sleep(ban);
					Beep(do1,ban);
					Sleep(ting/2);
					Beep(do1,ban);
					Sleep(ting/2);
					Beep(do1,ban);
					Sleep(ting/2);
					 
					Beep(si,ban+pai);
					Beep(sfa,ban);
					Sleep(ting);
					Beep(sfa,pai);
					Beep(si,pai);
					Sleep(ting);
					 
					Beep(si,2*pai);
					Sleep(ting);
					Sleep(pai);
					Beep(la,ban);
					Beep(si,ban);
					Sleep(ting);
					 
					Beep(do1,pai+ban);
					Beep(si,ban);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					Beep(mi1,pai);
					Sleep(ting);
					 
					Beep(si,2*pai);
					Sleep(ting);
					Sleep(pai);
					Beep(mi,ban);
					Sleep(20);
					Beep(mi,ban);
					Sleep(ting);
					 
					Beep(la,pai+ban);
					Beep(so,ban);
					Sleep(ting);
					Beep(la,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(so,3*pai);
					Sleep(ting+ban);
					Beep(mi,ban);
					Sleep(ting/2);
					 
					Beep(fa,pai);
					Sleep(ting);
					Beep(do1,ban);
					Beep(si,ban);
					Sleep(20);
					Beep(si,pai);
					Sleep(ting);
					Beep(do1,pai);
					Sleep(ting);
					 
					Beep(re1,ban);
					Sleep(20);
					Beep(re1,ban);
					Sleep(20);
					Beep(mi1,ban);
					Sleep(ting/2);
					Beep(do1,pai);
					Sleep(ting+pai);
					 
					Beep(la,4*pai);
					 
					Sleep(1000);
				
					}
				}
		if(b==5){ 
			system("cls");
			cout<<"这里有更多功能:1.计时器   2.计算机" ; 
			int sb;
			cin>>sb;
			if(sb==1){
			    system("color f0");
			    int h,m,s;
			    cin>>h>>m>>s;
			    while(1){
			        system("cls");
			        if(h<0){
			            break;
			        }
			        cout<<h<<":"<<m<<":"<<s;
			        s--;
			        if(s<=0){
			            if(m<=0){
			                m+=60;
			                h--;
			            }
			            s+=60;
			            m--;
			        }
			 
			        Sleep(1000);
			    }
			    cout<<"\n\n\n\n\n\t\t\t时间到";
			    	system("color 12");
			        system("color 23");
			        system("color 34");
			        system("color 45");
			        system("color 56");
			        system("color 67");
			        system("color 78");
			        system("color 81");
			        system("color 12");
			        system("color 23");
			        system("color 34");
			        system("color 45");
			        system("color 56");
			        const int _oC = 277, _oD = 311, _oF = 370, _oG = 415, _oA = 466;
					const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
					const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
					const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
					const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
					const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
					const int T = 200; //一拍的长度
					const int Stop = 0; //一拍休止符的长度
					int i;
					 while(i!=10){
					 Beep(D,T*2);
					 Beep(D,T);
					 Beep(A,T);
					 Beep(G,T*2);
					 Beep(F,T*2);
					 Beep(E,T*2);
					 Beep(E,T);
					 Beep(E,T);
					 Beep(G,T*2);
					 Beep(F,T);
					 Beep(E,T);
					 Beep(D,T*2);
					 Beep(D,T);
					 Beep(F,T);
					 Beep(E,T);
					 Beep(F,T);
					 Beep(E,T);
					 Beep(F,T);
					 Beep(D,T*2);
					 Beep(D,T);
					 Beep(F,T);
					 Beep(E,T);
					 Beep(F,T);
					 Beep(E,T);
					 Beep(F,T);
					 Beep(D,T*2);
					 Beep(D,T);
					 Beep( F, T );
					 Beep( E, T );
					 Beep( F, T );
					 Beep( E, T );
					 Beep(F,T);
					 Beep( D, T );
					 Beep( D, T );
					 Beep( F, T );
					 Beep( F, T );
					 Beep( E, T );
					 Beep( E, T );
					 Beep( G, T );
					 Beep( G, T );
					 Beep( G, T );
					 Beep( G, T );
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T);
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T );
					 Beep( A, T);
					 Beep( A, T);
					 Beep( F, T );
					 Beep( E, T );
					 Beep( D, T);
					 Beep( C, T);
					 i++;
					 }
			}
			if(sb==2) {
				system("cls");	
				Sleep(1000);
				cout<<"1.加法	2.减法	3.乘法	4.除法	5.次方	6.阶乘";
				int c1,c2,c3,s6=1;
				cin>>c1;
				system("cls");
				cin>>c2>>c3;	
				if(c1==1) {
					cout<<c2<<"+"<<c3<<"="<<c2+c3;
				}
				if(c1==2) {
					cout<<c2<<"-"<<c3<<"="<<c2-c3;
				}
				if(c1==3) {
					cout<<c2<<"*"<<c3<<"="<<c2*c3;
				}
				if(c1==4) {
					if(c2!=0&&c3!=0){
						cout<<c2<<"/"<<c3<<"="<<c2/c3;
					}
					else{
						cout<<"错误!"; 
					}
				}
				if(c1==5) {
					cout<<pow(c2,c3);
				}
				if(c1==6) {
					for(int i=c2;1<=c3;i++){
						s6=s6*i;
					}
					cout<<s6;
				}
			}	
		}	
	return 0;		
}
	

 

熊智晖在2021-06-20 12:46:28追加了内容

我即将推出x服务器2.0.1版(惊喜版)

大家不见不散


0
已采纳
朱小川
朱小川
缔造者
缔造者

一开始编译就闪一

这你要改一下

0
0
0
0
0
涛沙龙
涛沙龙
初级守护
初级守护

全都是别人写的

别人的心血

都变成你们的了,

算抄袭吧!

我要回答