-
个人简介
来点小病毒:
#include <iostream> #include <windows.h> #include <cstdlib> #include <ctime> using namespace std; int death,j; int main() { system("color a"); cout<<"此"; Sleep(100); cout<<"程"; Sleep(100); cout<<"序"; Sleep(100); cout<<"类"; Sleep(100); cout<<"型"; Sleep(100); cout<<":"; Sleep(100); cout<<"玩"; Sleep(100); cout<<"笑"; Sleep(100); cout<<"病"; Sleep(100); cout<<"毒"; Sleep(100); cout<<","; Sleep(100); cout<<endl; Sleep(100); cout<<"对"; Sleep(100); cout<<"电"; Sleep(100); cout<<"脑"; Sleep(100); cout<<"无"; Sleep(100); cout<<"实"; Sleep(100); cout<<"际"; Sleep(100); cout<<"伤"; Sleep(100); cout<<"害"; Sleep(100); cout<<"。"; Sleep(100); cout<<endl<<endl<<endl; Sleep(100); cout<<"请"; Sleep(100); cout<<"输"; Sleep(100); cout<<"入"; Sleep(100); cout<<"持"; Sleep(100); cout<<"续"; Sleep(100); cout<<"时"; Sleep(100); cout<<"间"; Sleep(100); cout<<"("; Sleep(100); cout<<"越"; Sleep(100); cout<<"长"; Sleep(100); cout<<"越"; Sleep(100); cout<<"好"; Sleep(100); cout<<")"; Sleep(100); cout<<":"; cin>>death; srand(time(0)); for (int i=0; i<death; i++) { int x=rand()%1920,y=rand()%1080; SetCursorPos(x,y); mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); Sleep(1); } cout<<"要"; Sleep(100); cout<<"不"; Sleep(100); cout<<"要"; Sleep(100); cout<<"再"; Sleep(100); cout<<"来"; Sleep(100); cout<<":"; Sleep(100); cout<<endl; Sleep(100); cout<<"1"; Sleep(100); cout<<":"; Sleep(100); cout<<"好"; Sleep(100); cout<<"呀"; Sleep(100); cout<<"!"; Sleep(100); cout<<" "; Sleep(100); cout<<"2"; Sleep(100); cout<<":"; Sleep(100); cout<<"还"; Sleep(100); cout<<"是"; Sleep(100); cout<<"别"; Sleep(100); cout<<"了"; Sleep(100); cout<<"!"; Sleep(100); cout<<"!"; Sleep(100); cout<<"!"; Sleep(100); cout<<"!"; Sleep(100); cout<<endl; cin>>j; if(j==1) { cin>>death; srand(time(0)); for (int i=0; i<death; i++) { int x=rand()%1920,y=rand()%1080; SetCursorPos(x,y); mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); Sleep(1); } } else { return 0; } }
哦,对了:不支持OJ!!!!!!!!!!!!!!!!!
-
通过的题目
-
最近活动
This person is lazy and didn't join any contests or homework. -
最近编写的题解
This person is lazy and didn't write any solutions. -
Stat
-
Rating