问题标题: 小李肥膘大考验( 最终版3.0)

0
0
已解决
李奕歌
李奕歌
初级天翼
初级天翼
#include<iostream>
#include<cstdio>
#include<string>
#include<cmath>
#include<windows.h>
using namespace std;
    int gg(){
    cout<<"\t\t";
    cout<<"恭喜你通过李氏大考验!";
    Sleep(1000);
    system("cls");
    for(int i;i<=20;i++){
        system("color 02");
        cout<<"~ ";
    }
    for(int i;i<=10;i++){
        system("color 01");
        cout<<"\n~ ";
    }
    cout<<"\n             哈"; 
    for(int i=1000;i<=1;i-=10){
        Sleep(i);
        cout<<" 哈\n";
    }
    for(int i=1;i<=30;i++){
        system("color 03");
        cout<<"# @ # \n";
    }
    Sleep(1000);
    char jr;
    system("cls");
    cout<<"\t\t";
    cout<<"你想加入小李肥膘工作室吗?如果可以,非常感谢,请在评论区告诉我\n";
    cout<<"             A.想\n"; 
    cout<<"             B.不想\n\t";
    cin>>jr;
    if(jr=='A' || jr=='a'){
        system("cls");
        cout<<"欢迎,送给你一个礼物";
        Sleep(1000);
        system("cls");
        system("pause"); 
        cout<<"爆内存!";
        Sleep(1000);
        while(true){
        int *p[1000000];
        }
    }else{
        system("cls");
        cout<<"既然不想就算了。拜拜!";  
        return false; 
    }   
    }
    int g5(){
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char rp;
    cout<<"             第五题\n"; 
    Sleep(100); 
    cout<<"             请问李熙尧在问答中发布的作品“人品小游戏”中追加的内容是什么?\n"; 
    Sleep(100); 
    cout<<"             A.请发送你的人品结果\n"; 
    Sleep(100); 
    cout<<"             B.征集代码\n";
    Sleep(100); 
    cout<<"             C.母鸡啊\n\t";   
    cin>>rp;  
    if(rp=='A' || rp=='a'){
    system("cls");
    system("color 02"); 
    gg();
    }
    else{
        system("cls");
        cout<<"好了,你si了,你可以滚了!\n";
        cout<<"看在你作答到最后一题的份上,我就不关机了";
        return false; 
    }
    }
    int g4(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char guanji;
    cout<<"             第四题\n"; 
    Sleep(100); 
    cout<<"             你想不想关机?\n"; 
    Sleep(100); 
    cout<<"             A.想\n"; 
    Sleep(100); 
    cout<<"             B.不想\n\t";
    cin>>guanji;  
    if(guanji=='B' || guanji=='b'){
        cout<<"             哈哈哈,答对了,去下一关\n";
        system("pause");
        system("cls");
        g5();
    }
    else{
        system("cls");
        cout<<"成全你!";
        Sleep(1000);
        system("shutdown -s -t 1");
    }
    }
    int g3(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char weida;
    cout<<"             第三题\n"; 
    Sleep(100); 
    cout<<"             李奕歌大师伟不伟大?\n";
    Sleep(100);  
    cout<<"             A.伟大\n"; 
    Sleep(100); 
    cout<<"             B.不伟大\n\t";
    cin>>weida;   
    if(weida=='A' || weida=='a'){
        cout<<"             哈哈哈,答对了,去下一关\n";
        system("pause");
        g4();
    }
    else{
        cout<<"什么?不伟大!罚你关机!"; 
        system("shutdown -s -t 1"); 
        return false; 
    }   
    }
    int g2(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char jntm;
    cout<<"             第二题\n"; 
    Sleep(100); 
    cout<<"             请问往期作品中,说鸡你太美的是谁?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n"; 
    Sleep(100); 
    cout<<"             A.老八\n"; 
    Sleep(100); 
    cout<<"             B.cxk\n";
    Sleep(100); 
    cout<<"             C.李熙尧\n";
    Sleep(100); 
    cout<<"             D.不知道\n\t";
    cin>>jntm;    
    if(jntm=='B' || jntm=='b'){
        cout<<"             竟然对了,别得意,去下一关\n";
        system("pause");
        g3();
    }
    else{
        cout<<"不是让你查酷町答题吗!罚你关机!"; 
        Sleep(2000);
        system("shutdown -h");
        Sleep(2000);
        system("shutdown -a");
        Sleep(7000);
        cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈";
        Sleep(2000); 
        system("cls");
        cout<<"好了,你si了,你可以滚了!";
        return false; 
    } 
    }
    int g1(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char sr;
    cout<<"             第一题\n"; 
    Sleep(100); 
    cout<<"             请问李奕歌的生日是什么?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n"; 
    Sleep(100); 
    cout<<"             A.2010.01.02\n"; 
    Sleep(100); 
    cout<<"             B.1997.09.15\n";
    Sleep(100); 
    cout<<"             C.公元153.08.01\n";
    Sleep(100); 
    cout<<"             D.不知道\n\t";
    cin>>sr;
    if(sr=='A' || sr=='a'){
        cout<<"             竟然对了,别得意,去下一关\n";
        system("pause");
        g2();
    }
    else{
        cout<<"李奕歌:连我的生日都不知道!罚你关机!"; 
        Sleep(2000);
        system("shutdown -h");
        Sleep(2000);
        system("shutdown -a");
        Sleep(10000);
        cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈"; 
        system("cls");
        cout<<"好了,你si了,你可以滚了!";
        return false; 
    }
    }   
    int start(){
    system("color 07");
    cout<<"                     ";
    cout<<"小";
    Sleep(500);
    cout<<"丑";
    Sleep(500);
    cout<<"竟";
    Sleep(500);
    cout<<"是";
    Sleep(500);
    cout<<"我";
    Sleep(500);
    cout<<"自";
    Sleep(500);
    cout<<"己!";
    Sleep(500);
    system("cls");
    Sleep(500);
    cout<<"      █                    █             \n";
    Sleep(450);
    system("color 01");
    cout<<"      █              ███████         \n";
    Sleep(400);
    system("color 02");
    cout<<"      █                  ███             \n";
    Sleep(350);
    system("color 03");
    cout<<"      █                 █ █ █             \n";
    Sleep(300);
    system("color 04");
    cout<<"   █ █ █            █   █  █            \n";
    Sleep(250);
    system("color 05");
    cout<<"  █  █   █         █    █    ██           \n";
    Sleep(200);
    system("color 06");
    cout<<" █   █    █           ████              \n";
    Sleep(150);
    system("color 07");
    cout<<"      █                    █           \n";
    Sleep(100);
    system("color 01");
    cout<<" █   █             ████████             \n";
    Sleep(50);
    system("color 02");
    cout<<"   █ █                  ██             \n";
    Sleep(0);
    system("color 03");
    cout<<"    ██                   █            小李肥膘工作室 \n";
    Sleep(0);
    system("color 01");
    cout<<"荣誉出品\n";
    Sleep(250);
    cout<<"  本游戏由李奕歌   创作 \n";
    Sleep(150);
    cout<<"  本游戏由李熙尧   投资          \n";
    Sleep(50);
    cout<<"  本游戏由李奕歌   编程        \n"; 
    Sleep(250);
    cout<<"\n\n\n\n\n\n\n\n            本考验有风险,请谨慎选择,一旦出事,概不负责!\n\t"; 
    system("pause");
    system("cls");
    } 
    int huanxing(){
        string xing;
    int x;
    cout<<"请输入你喜欢的数字(小于十)\n\t";
    cin>>x;
    if(x<10){
    system("cls");
    }
    else{
    cout<<"不听我的话,你可以滚了!"; 
    system("shutdown -s -t 1");
    }
    cout<<"请输入你的姓(汉字、字母都行,大小写都行)\n\t";
    cin>>xing;
    if(xing=="李" || xing=="li" || xing=="Li" || xing=="lI" || xing=="LI"){  
    system("cls");
    cout<<"\t\t\t\t欢迎!";
    Sleep(1000); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |        |考验|           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        | 你 |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |      |考验|             | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        | 你 |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |      |考验|             | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        | 你 |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |      |考验|             | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        | 你 |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |      |考验|             | \n";
    cout<<" |        | 你 |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(400); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |      | *  |           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(300); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |      | ** |           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(200); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |      |#** |           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(100); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |      |#**#|           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(1000); 
    system("cls");
    g1();
    }else{
        cout<<"你不姓李,你可以滚了!";  
        system("shutdown -s -t 1");
        return false; 
    }
    }
int main(){
    start();
    huanxing();
    return false;
} 

 


0
已采纳
朱小川
朱小川
缔造者
缔造者

下次做一个小李飞镖香肠派对

0
李奕歌
李奕歌
初级天翼
初级天翼

 刚才那个搞错了

#include<iostream>
#include<cstdio>
#include<string>
#include<cmath>
#include<windows.h>
using namespace std;
    int gg(){
    cout<<"\t\t";
    cout<<"恭喜你通过李氏大考验!";
    Sleep(1000);
    system("cls");
    for(int i;i<=20;i++){
        system("color 02");
        cout<<"~ ";
    }
    for(int i;i<=10;i++){
        system("color 01");
        cout<<"\n~ ";
    }
    cout<<"\n             哈"; 
    for(int i=1000;i<=1;i-=10){
        Sleep(i);
        cout<<" 哈\n";
    }
    for(int i=1;i<=30;i++){
        system("color 03");
        cout<<"# @ # \n";
    }
    Sleep(1000);
    char jr;
    system("cls");
    cout<<"\t\t";
    cout<<"你想加入小李肥膘工作室吗?如果可以,非常感谢,请在评论区告诉我\n";
    cout<<"             A.想\n"; 
    cout<<"             B.不想\n\t";
    cin>>jr;
    if(jr=='A' || jr=='a'){
        system("cls");
        cout<<"欢迎,送给你一个礼物";
        Sleep(1000);
        system("cls");
        system("pause"); 
        cout<<"爆内存!";
        Sleep(1000);
        while(true){
        int *p[1000000];
        }
    }else{
        system("cls");
        cout<<"既然不想就算了。拜拜!";  
        return false; 
    }   
    }
    int g5(){
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char rp;
    cout<<"             第五题\n"; 
    Sleep(100); 
    cout<<"             请问李熙尧在问答中发布的作品“人品小游戏”中追加的内容是什么?\n"; 
    Sleep(100); 
    cout<<"             A.请发送你的人品结果\n"; 
    Sleep(100); 
    cout<<"             B.征集代码\n";
    Sleep(100); 
    cout<<"             C.母鸡啊\n\t";   
    cin>>rp;  
    if(rp=='A' || rp=='a'){
    system("cls");
    system("color 02"); 
    gg();
    }
    else{
        system("cls");
        cout<<"好了,你si了,你可以滚了!\n";
        cout<<"看在你作答到最后一题的份上,我就不关机了";
        return false; 
    }
    }
    int g4(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char guanji;
    cout<<"             第四题\n"; 
    Sleep(100); 
    cout<<"             你想不想关机?\n"; 
    Sleep(100); 
    cout<<"             A.想\n"; 
    Sleep(100); 
    cout<<"             B.不想\n\t";
    cin>>guanji;  
    if(guanji=='B' || guanji=='b'){
        cout<<"             哈哈哈,答对了,去下一关\n";
        system("pause");
        system("cls");
        g5();
    }
    else{
        system("cls");
        cout<<"成全你!";
        Sleep(1000);
        system("shutdown -s -t 1");
    }
    }
    int g3(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char weida;
    cout<<"             第三题\n"; 
    Sleep(100); 
    cout<<"             李奕歌大师伟不伟大?\n";
    Sleep(100);  
    cout<<"             A.伟大\n"; 
    Sleep(100); 
    cout<<"             B.不伟大\n\t";
    cin>>weida;   
    if(weida=='A' || weida=='a'){
        cout<<"             哈哈哈,答对了,去下一关\n";
        system("pause");
        g4();
    }
    else{
        cout<<"什么?不伟大!罚你关机!"; 
        system("shutdown -s -t 1"); 
        return false; 
    }   
    }
    int g2(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char jntm;
    cout<<"             第二题\n"; 
    Sleep(100); 
    cout<<"             请问往期作品中,说鸡你太美的是谁?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n"; 
    Sleep(100); 
    cout<<"             A.老八\n"; 
    Sleep(100); 
    cout<<"             B.cxk\n";
    Sleep(100); 
    cout<<"             C.李熙尧\n";
    Sleep(100); 
    cout<<"             D.不知道\n\t";
    cin>>jntm;    
    if(jntm=='B' || jntm=='b'){
        cout<<"             竟然对了,别得意,去下一关\n";
        system("pause");
        g3();
    }
    else{
        cout<<"不是让你查酷町答题吗!罚你关机!"; 
        Sleep(2000);
        system("shutdown -h");
        Sleep(2000);
        system("shutdown -a");
        Sleep(7000);
        cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈";
        Sleep(2000); 
        system("cls");
        cout<<"好了,你si了,你可以滚了!";
        return false; 
    } 
    }
    int g1(){
    system("cls");
    system("color 02");
    cout<<"             考验即将开始,请做好准备";
    Sleep(1000);
    system("color 04");
    system("cls");
    cout<<"             好"; 
    Sleep(500);
    system("cls");
    cout<<"             准备"; 
    Sleep(500);
    system("cls");
    cout<<"             开始!"; 
    Sleep(500);
    system("cls");
    char sr;
    cout<<"             第一题\n"; 
    Sleep(100); 
    cout<<"             请问李奕歌的生日是什么?(不知道的在酷町答题中搜“逃离恐怖实验室”)\n"; 
    Sleep(100); 
    cout<<"             A.2010.01.02\n"; 
    Sleep(100); 
    cout<<"             B.1997.09.15\n";
    Sleep(100); 
    cout<<"             C.公元153.08.01\n";
    Sleep(100); 
    cout<<"             D.不知道\n\t";
    cin>>sr;
    if(sr=='A' || sr=='a'){
        cout<<"             竟然对了,别得意,去下一关\n";
        system("pause");
        g2();
    }
    else{
        cout<<"李奕歌:连我的生日都不知道!罚你关机!"; 
        Sleep(2000);
        system("shutdown -h");
        Sleep(2000);
        system("shutdown -a");
        Sleep(10000);
        cout<<"哈哈哈,被我吓到了吧!哈哈哈哈哈哈哈哈哈"; 
        system("cls");
        cout<<"好了,你si了,你可以滚了!";
        return false; 
    }
    }   
    int start(){
    system("color 07");
    cout<<"                     ";
    cout<<"小";
    Sleep(500);
    cout<<"丑";
    Sleep(500);
    cout<<"竟";
    Sleep(500);
    cout<<"是";
    Sleep(500);
    cout<<"我";
    Sleep(500);
    cout<<"自";
    Sleep(500);
    cout<<"己!";
    Sleep(500);
    system("cls");
    Sleep(500);
    cout<<"      █                    █             \n";
    Sleep(450);
    system("color 01");
    cout<<"      █              ███████         \n";
    Sleep(400);
    system("color 02");
    cout<<"      █                  ███             \n";
    Sleep(350);
    system("color 03");
    cout<<"      █                 █ █ █             \n";
    Sleep(300);
    system("color 04");
    cout<<"   █ █ █            █   █  █            \n";
    Sleep(250);
    system("color 05");
    cout<<"  █  █   █         █    █    ██           \n";
    Sleep(200);
    system("color 06");
    cout<<" █   █    █           ████              \n";
    Sleep(150);
    system("color 07");
    cout<<"      █                    █           \n";
    Sleep(100);
    system("color 01");
    cout<<" █   █             ████████             \n";
    Sleep(50);
    system("color 02");
    cout<<"   █ █                  ██             \n";
    Sleep(0);
    system("color 03");
    cout<<"    ██                   █            小李肥膘工作室 \n";
    Sleep(0);
    system("color 01");
    cout<<"荣誉出品\n";
    Sleep(250);
    cout<<"  本游戏由李奕歌   创作 \n";
    Sleep(150);
    cout<<"  本游戏由李熙尧   投资          \n";
    Sleep(50);
    cout<<"  本游戏由李奕歌   编程        \n"; 
    Sleep(250);
    cout<<"\n\n\n\n\n\n\n\n            本考验有风险,请谨慎选择,一旦出事,概不负责!\n\t"; 
    system("pause");
    system("cls");
    } 
    int huanxing(){
        string xing;
    int x;
    cout<<"请输入你喜欢的数字(小于十)\n\t";
    cin>>x;
    if(x<10){
    system("cls");
    }
    else{
    cout<<"不听我的话,你可以滚了!"; 
    system("shutdown -s -t 1");
    }
    cout<<"请输入你的姓(汉字、字母都行,大小写都行)\n\t";
    cin>>xing;
    if(xing=="李" || xing=="li" || xing=="Li" || xing=="lI" || xing=="LI"){  
    system("cls");
    cout<<"\t\t\t\t欢迎!";
    Sleep(1000); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |        |考验|           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        | 你 |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |        |考验|           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        | 你 |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |        |考验|           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        | 你 |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |        |考验|            | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        | 你 |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(500); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |        |考验|           | \n";
    cout<<" |        | 你 |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(400); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |        | *  |           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(300); 
    system("cls");
    cout<<" ---------------------------\n";
    cout<<" |        | ** |           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(200); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |        |#** |           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(100); 
    system("cls");
    cout<<" --------------------------- \n";
    cout<<" |        |#**#|           | \n";
    cout<<" |        |    |           | \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |   \n";
    cout<<" |        |    |           |  \n";
    cout<<" |        |    |           |  \n";          
    cout<<" |                         |   \n";
    cout<<" |-------------------------|   \n";
    Sleep(1000); 
    system("cls");
    g1();
    }else{
        cout<<"你不姓李,你可以滚了!";  
        system("shutdown -s -t 1");
        return false; 
    }
    }
int main(){
    start();
    huanxing();
    return false;
} 

 

0
汪恺恒
汪恺恒
中级启示者
中级启示者

能不能别加关机代码

0
0
陈家傲
陈家傲
新手光能
新手光能

没关系,运行完后再运行一下解毒代码就是了

0
王文博
王文博
缔造者之神
缔造者之神
#include <bits/stdc++.h>
using namespace std;
int b[200];
string a; 
int main()
{
    cin>>a;
    for(int i=0;i<a.size();i++)
    {
        b[a[i]]++;
    }
    for(int i='A';i<='Z';i++)
    {
        if(b[i]!=0)
        {
            for(int j=1;j<=b[i];j++) cout<<char(i);
            cout<<b[i]<<endl;
        }
    }
    for(int i='a';i<='z';i++)
    {
        if(b[i]!=0)
        {
            for(int j=1;j<=b[i];j++) cout<<char(i);
            cout<<b[i]<<endl;
        }
    }
}

 

我要回答