新人报道!
感谢每个支持我的人!!
为大家呈上代码!!
#include<bits/stdc++.h>
using namespace std;
int main(){
cout<<"SPACE X Launching System"<<endl;
cout<<"Developer:Elon Musk"<<endl;
cout<<"Prohibition of Infringement"<<endl;
cout<<"This system is designed for SPACE X launch"<<endl;
cout<<"Please enter the rocket number:";
long long a;
cin>>a;
if(a==1){
cout<<"Enter the launch number:2"<<endl;
long long b;
cin>>b;
if(b==2111000111000){
cout<<"Please enter the number of engine:";
int a1;
cin>>a1;
for(int i=1;i<=a1;i++){
cout<<"Engine "<<i<<" started"<<endl;
cout<<endl;
}
cout<<"Launch successful"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<"s"<<endl;
cout<<"s"<<endl;
cout<<"s"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<" s"<<endl;
cout<<" s"<<endl;
cout<<" s"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<endl;
cout<<"ppppppppppppp"<<endl;
cout<<"p p"<<endl;
cout<<"p p"<<endl;
cout<<"p p"<<endl;
cout<<"ppppppppppppp"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<endl;
cout<<" a"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<" aaaaaaaaa"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<"a a"<<endl;
cout<<endl;
cout<<"cccccccccccccc"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"cccccccccccccc"<<endl;
cout<<endl;
cout<<" eeeeeeeeeee"<<endl;
cout<<" e e"<<endl;
cout<<"e e"<<endl;
cout<<"eeeeeeeeeeeeee"<<endl;
cout<<"e"<<endl;
cout<<"e"<<endl;
cout<<" e e"<<endl;
cout<<" eeeeeeeeeeee"<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<"x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<"x x"<<endl;
return 0;
}else{
cout<<"The launch number is wrong, and the alarm has been given. Please do not damage the articles.";
return 0;
}
}else if(a==2){
cout<<"Enter the launch number:7"<<endl;
long long c;
cin>>c;
if(c==7222000222000){
cout<<"Please enter the number of engine:";
int a2;
cin>>a2;
for(int j=1;j<=a2;j++){
cout<<"Engine "<<j<<" started"<<endl;
cout<<endl;
}
cout<<"Launch successful"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<"s"<<endl;
cout<<"s"<<endl;
cout<<"s"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<" s"<<endl;
cout<<" s"<<endl;
cout<<" s"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<endl;
cout<<"ppppppppppppp"<<endl;
cout<<"p p"<<endl;
cout<<"p p"<<endl;
cout<<"p p"<<endl;
cout<<"ppppppppppppp"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<endl;
cout<<" a"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<" aaaaaaaaa"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<"a a"<<endl;
cout<<endl;
cout<<"cccccccccccccc"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"cccccccccccccc"<<endl;
cout<<endl;
cout<<" eeeeeeeeeee"<<endl;
cout<<" e e"<<endl;
cout<<"e e"<<endl;
cout<<"eeeeeeeeeeeeee"<<endl;
cout<<"e"<<endl;
cout<<"e"<<endl;
cout<<" e e"<<endl;
cout<<" eeeeeeeeeeee"<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<"x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<"x x"<<endl;
}else{
cout<<"The launch number is wrong, and the alarm has been given. Please do not damage the articles.";
return 0;
}
}else if(a==3){
cout<<"Enter the launch number:1"<<endl;
long long d;
cin>>d;
if(d==1333000333000){
cout<<"Please enter the number of engine:";
int a3;
cin>>a3;
for(int s=1;s<=a3;s++){
cout<<"Engine "<<s<<" started"<<endl;
cout<<endl;
}
cout<<"Launch successful"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<"s"<<endl;
cout<<"s"<<endl;
cout<<"s"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<" s"<<endl;
cout<<" s"<<endl;
cout<<" s"<<endl;
cout<<"sssssssssssss"<<endl;
cout<<endl;
cout<<"ppppppppppppp"<<endl;
cout<<"p p"<<endl;
cout<<"p p"<<endl;
cout<<"p p"<<endl;
cout<<"ppppppppppppp"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<"p"<<endl;
cout<<endl;
cout<<" a"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<" aaaaaaaaa"<<endl;
cout<<" a a"<<endl;
cout<<" a a"<<endl;
cout<<"a a"<<endl;
cout<<endl;
cout<<"cccccccccccccc"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"c"<<endl;
cout<<"cccccccccccccc"<<endl;
cout<<endl;
cout<<" eeeeeeeeeee"<<endl;
cout<<" e e"<<endl;
cout<<"e e"<<endl;
cout<<"eeeeeeeeeeeeee"<<endl;
cout<<"e"<<endl;
cout<<"e"<<endl;
cout<<" e e"<<endl;
cout<<" eeeeeeeeeeee"<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<endl;
cout<<"x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<" x x"<<endl;
cout<<"x x"<<endl;
}else{
cout<<"The launch number is wrong, and the alarm has been given. Please do not damage the articles.";
return 0;
}
}else{
cout<<"SPACE X-Undeveloped-SPACE X";
return 0;
}
return 0;
}