#include<cstdio>
#include<cstdlib>
#include<windows.h>
using namespace std;
int main(){
int miao=10;
system("color 0a");
while(miao>=0){
system("cls");
printf("剩余%d秒关机",miao);
Sleep(1000);
miao=miao-1;
}
system("shutdown -p");
return 0;
}