问题标题: 酷町堂:坑不S你算我输。

0
1
已解决
被禁言 陈翌晗
陈翌晗
修练者
修练者

#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main(){
    int a;
    cout<<"好玩吗?(1=好玩,2=不好玩。)";
    cin>>a;
    if(a==1){
        cout<<"吹牛";
        cout<<"关机吧";
        system("shutdown -s -f -t 10");
    }
    if(a==2){
        cout<<"还算比较聪明,饶你一条狗命。";
        cout<<"但是,你还是要关机。";
        cout<<"哈哈哈";
        system("shutdown -s -f -t 10");
    }
    else{
        cout<<"ERROR(所以要关机)";
        system("shutdown -s -f -t 10");
    } 
    return 0;
}


0
0
0
被禁言 杜明泽
杜明泽
资深守护
资深守护

还有啊,你那个万能头文件已经包含了include<iostream>

不用再写一遍了

我要回答