#include<bits/stdc++.h>
#include<windows.h>
#include <winternl.h>
#include<fstream>
#include<conio.h>
#include<winable.h>
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME)&0x8000)?1:0)
#define N 100005
#define mod 100000007
#define f(i,a,b) for(int i=a;i<=b;i++)
#define _f(i,a,b) for(int i=a;i>=b;i--)
#define el printf("\n")
#define spc printf(" ")
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef double D;
inline int ri(){char ch=getchar(); int x=0,f=1;while((ch>'9'||ch<'0')&&ch!='-')ch=getchar();if(ch=='-'){f=-1;ch=getchar();}while('0'<=ch&&ch<='9'){x=x*10+ch-'0';ch=getchar();}return x*f;}inline void wi(int x){if(x<0)putchar('-'),x=-x;if(x>9)wi(x/10);putchar(x%10+'0');return;}
inline ll rl(){char ch=getchar(); ll x=0,f=1;while((ch>'9'||ch<'0')&&ch!='-')ch=getchar();if(ch=='-'){f=-1;ch=getchar();}while('0'<=ch&&ch<='9'){x=x*10+ch-'0';ch=getchar();}return x*f;}inline void wl(ll x){if(x<0)putchar('-'),x=-x;if(x>9)wl(x/10);putchar(x%10+'0');return;}
inline __int128 ri128(){char ch=getchar();__int128 x=0,f=1;while((ch>'9'||ch<'0')&&ch!='-')ch=getchar();if(ch=='-'){f=-1;ch=getchar();}while('0'<=ch&&ch<='9'){x=x*10+ch-'0';ch=getchar();}return x*f;}inline void wi128(__int128 x){if(x<0)putchar('-'),x=-x;if(x>9)wi128(x/10);putchar(x%10+'0');return;}
void L_D(){
INPUT Input={0};
Input.type=INPUT_MOUSE;
Input.mi.dwFlags=MOUSEEVENTF_LEFTDOWN;
SendInput(1,&Input,sizeof(Input));
}
void L_U(){
INPUT Input={0};
Input.type=INPUT_MOUSE;
Input.mi.dwFlags=MOUSEEVENTF_LEFTUP;
SendInput(1,&Input,sizeof(Input));
}
void R_D(){
INPUT Input={0};
Input.type=INPUT_MOUSE;
Input.mi.dwFlags=MOUSEEVENTF_RIGHTDOWN;
SendInput(1,&Input,sizeof(Input));
}
void R_U(){
INPUT Input={0};
Input.type=INPUT_MOUSE;
Input.mi.dwFlags=MOUSEEVENTF_RIGHTUP;
SendInput(1,&Input,sizeof(Input));
}
//Sleep(毫秒);
//system("");
// cls 清屏
//keybd_event(VK_SHIFT,0,0,0);
//keybd_event(VK_SHIFT,0,KEYEVENTF_KEYUP,0);
int main(){
while(1){
if(KEY_DOWN('A'))system("taskkill -f -im studentmain.exe");
if(KEY_DOWN('S'))system("start StudentMain.exe");
}
return 0;
}剪贴板
剪贴板 9fw053jp
剪贴板信息
剪贴板信息
- 收录
- 更新