跳到正文

hantaoyang

756534

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

资料

编号
756534
抓取

陶片放逐

无权限变更

查看记录

system(“cls”);//清空屏幕内所有输入输出

system(“shutdown -s”);//直接关机

system(“shutdown -f”);//注销

system(“shutdown -s -t XXX”);//过XXX秒再关机

system(“shutdown -a”);//取消关机计划

system(“taskkill /F /IM NetClassStu2007.exe /T”);//关掉科优达

system(“start XXX”);//打开某个玩意儿,XXX例如C:\Windows

Sleep(XXX);//不运行(沉睡)XXX毫秒

SetCursorPos(x,y);//设置鼠标位置(一般

来说,屏幕Xmax,Ymax为1000*500)

C++
inline int read(){
	int x=0;
	bool f=0;
	char c=getchar();
	while(c<'0'||c>'9'){
		if(c=='-')f=1;
		c=getchar();
	}
	while(c>='0'&&c<='9'){
		x=(x<<1)+(x<<3)+(c^48);
		c=getchar();
	}
	if(f==1)x=-x;
	return x;
}
int main(){
	int a=read();
}//快读

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