社区讨论

关于“自动关机机”

灌水区参与者 3已保存回复 3

讨论操作

快速查看讨论及其快照的属性,并进行相关操作。

当前回复
3 条
当前快照
1 份
快照标识符
@m1rb9s5d
此快照首次捕获于
2024/10/02 11:31
去年
此快照最后确认于
2024/10/02 11:31
去年
查看原帖
CPP
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
signed main(){
    ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
    while(true){
    	system("shutdown -p");
	} 
	return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main(){
	while(true){
		system("start cmd");
	}
	return 0;
}
	

回复

3 条回复,欢迎继续交流。

正在加载回复...