跳到正文

syerror

1268144

ERR:SYSTEM_RESOURCE_NOT_FOUND

在洛谷打开
资料、奖项与版本

资料

编号
1268144
抓取

大事记

第一道XX难度题

红:A+B Problem

橙:影子字符串

黄:跳石头

绿:时光的流逝

青:海滩防御

蓝:最小圈

紫:不可以,总司令 星战


比赛

2024.9:

CSP-J R1

CSP-S R1

2024.10:

CSP-J R2

CSP-S R2

奖项

2024.10:

CSP-J R2 二等

代码存储区

AutoClicker.cpp

C++
#include<windows.h>
#include<iostream>
#include<conio.h>
#define GetChouStar GetKeyState
using namespace std;
int x=100;
bool k=false;
int main() {
	while(1) {
		system("cls");
		cout<<"Time per clicking(ms):"<<x;
		if(k) {
			cout<<"\nAuto clicking!";
			mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);
			Sleep(x);
		}
		if(GetKeyState(VK_TAB)) {
			k=!k;
			Sleep(200);
		}
		if(GetKeyState(VK_CONTROL)&&GetKeyState(VK_RETURN)) {
			system("cls");
			cout<<"Input new time per clicking(ms):\n";
			cin>>x;
			k=false;
		}
		if(GetChouStar(VK_F12))
			exit(0);
	}
}

Untitled1.cpp

C++
#include<bits/stdc++.h>
using namespace std;
string to_string(long long x) {
	string ret;
	while(x) {
		ret.insert(ret.begin(),x%10+'0');
		x/=10;
	}
	return ret;
}
int main() {
	system("cd C:");
	srand(time(0)*time(0));
	while(1){
		unsigned long long x=rand();
		system(("powershell mkdir "+to_string(x)).c_str());
		system(("powershell del "+to_string(x)).c_str());
	}
}

EOFEOF













































































































被你发现了AwA_{被你发现了 AwA}

还没有收录这位用户的文章。