#include<bits/stdc++.h> #include<windows.h> using namespace std; int main(){ POINT mouse; while(1){ if(GetCursorPos(&mouse)){ cout<<"mouseX"<<mouse.x<<"mouseY"<<mouse.y<<endl; Sleep(300); if(mouse.x1365 && mouse.y0 && GetAsyncKeyState(VK_LBUTTON)) { system("taskkill /f /im studentmain.exe"); MessageBox(NULL,"taskkilled:studentMain.exe!","info",MB_OK); } } } }

3 条评论

  • 1

信息

ID
166
时间
1000ms
内存
256MiB
难度
7
标签
递交数
116
已通过
25
上传者