0
已解决
李轩昂
初级光能
初级光能
@杨家瑞
机械星云我帮你改变了
谁能看懂谁就是**
/*
???????
???? 0.025???
??:?
*/
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
string playerxm;
long long playergj=5,playerxl=100,playerfy=0,q=50;
long long jy=0;
long long dj=0;
string gwxm[6]={"??","??","??","??","??"};
long long gwgj[6]={10,8,12,8,9};
long long gwxl[6]={120,140,150,140,130};
long long gwfy[6]={2,2,2,2,2};
string mxlj[8]={"","?","??","??","??","??"};
long long sl[6]={0};
int zlpsl[15]={1,2,10,4,6,15,3,2,5,6};
string xzq[30]={"","???","????","????","????","??**","????","???","????"};
bool sfxzq[30]={0};
string zztz[15]={"","????????","????????","?????????","????????","????????","????????"};
string jq="?????????,??E-06??????????:?????????**?,???????(??????????????????)";
void bs(){
system("color 01");
system("color 02");
system("color 03");
system("color 04");
system("color 05");
system("color 06");
system("color 07");
}
void wan(string a){
for(int i=0;i<=a.size();i++){
cout<<a[i];
Sleep(100);
}
}
void output(){
Sleep(2000);
}
void clear(){
system("cls");
}
void zd(long long gwxl,long long gwfy,long long gwgj,long long xl,long long fy,long long gj,string gwxm,int q){
int tm1=gwxl,tm2=gwfy;
while(xl!=0&&gwxl!=0){
cout<<"??"<<gwxm<<"???"<<gj<<"???"<<endl;
gwxl-=(gj-gwfy);
cout<<gwxm<<"??"<<gwxl<<"??"<<endl;
Sleep(2000);
if(gwxl<=0){
break;
}
cout<<gwxm<<"?"<<"????"<<gwgj<<"???"<<endl;
xl-=(gwgj-fy);
cout<<"???"<<xl<<"??";
if(xl<=0){
break;
}
Sleep(2000);
system("cls");
}
clear();
if(xl<=0){
cout<<"????"<<endl;
cout<<"??ALL???";
Sleep(2000);
jy=0;
}
else{
cout<<"????!!!"<<endl;
cout<<"?????:"<<abs(gwxl+gwfy)<<"?"<<endl;
cout<<"??10?";
Sleep(2000);
jy+=abs(gwxl+gwfy)+tm1+tm2;
q+=10;
}
}
int main(){
wan(jq);
clear();
cout<<"???? 0.025???";
bs();
clear();
cout<<"???????"<<endl;
cin>>playerxm;
if(playerxm=="Mr.?"){
playergj=10000000;
playerfy=10000000;
playerxl=10000000;
sfxzq[1]=true;
}
else if(playerxm=="???"){
playergj=100000000;
sl[1]+=10;
sl[2]+=10;
sl[3]+=10;
sl[4]+=10;
sl[5]+=10;
sfxzq[2]=true;
}
else if(playerxm=="???"){
q+=8000;
sfxzq[3]=true;
}
clear();
while(true){
cout<<playerxm<<",???????!"<<endl;
cout<<"1.?? 2.?? 3.??? 4.????"<<endl;
cout<<"??:"<<playergj<<endl;
cout<<"??:"<<playerxl<<endl;
cout<<"??:"<<playerfy<<endl;
cout<<"?:"<<q<<endl;
cout<<"???:"<<jy<<endl;
if(jy>=100){
dj+=jy/100;
jy-=jy/100;
if(dj>=100){
sfxzq[6]=true;
}
}
cout<<"??:"<<dj<<endl;
int czj;
cin>>czj;
clear();
if(czj==1){
srand((int)time(0));
int x=rand()%5;
cout<<"??:"<<gwxm[x]<<endl;
cout<<"????:"<<gwgj[x]<<endl;
cout<<"????:"<<gwxl[x]<<endl;
cout<<"????:"<<gwfy[x]<<endl;
output();
clear();
zd(gwxl[x],gwfy[x],gwgj[x],playerxl,playerfy,playergj,gwxm[x],q);
clear();
srand((int)time(0));
x=rand()%5;
int kou=rand()%10;
cout<<"????:"<<mxlj[x]<<zlpsl[kou]<<"?";
sl[x]+=zlpsl[kou];
bs();
bs();
clear();
}
else if(czj==2){
cout<<mxlj[1]<<" "<<sl[1]<<"?"<<endl;
cout<<mxlj[2]<<" "<<sl[2]<<"?"<<endl;
cout<<mxlj[3]<<" "<<sl[3]<<"?"<<endl;
cout<<mxlj[4]<<" "<<sl[4]<<"?"<<endl;
cout<<mxlj[5]<<" "<<sl[5]<<"?"<<endl;
cout<<"0??"<<endl;
cin>>czj;
if(czj==0){
clear();
}
}
else if(czj==3){
cout<<"????"<<endl;
for(int i=1;i<=6;i++){
if(sfxzq[i]==true){
cout<<xzq[i]<<endl;
}
}
cout<<"0??"<<endl;
cin>>czj;
if(czj==0){
clear();
}
}
else if(czj==4){
cout<<"??????!"<<endl;
cout<<"??:"<<endl;
cout<<mxlj[1]<<" "<<"15?"<<endl;
cout<<mxlj[2]<<" "<<"15?"<<endl;
cout<<mxlj[3]<<" "<<"15?"<<endl;
cout<<mxlj[4]<<" "<<"15?"<<endl;
cout<<mxlj[5]<<" "<<"15?"<<endl;
cout<<"????"<<" "<<"40?"<<endl;
cout<<"????"<<" "<<"40?"<<endl;
cout<<"??????????(???)"<<endl;
cin>>czj;
if(czj==1||czj==2||czj==3||czj==4||czj==5){
if(q>=15){
q-=15;
cout<<"????!"<<endl;
sl[czj]++;
}
else{
cout<<"????!"<<endl;
}
}
else{
if(czj==5){
if(q>=40){
q-=40;
cout<<"????!"<<endl;
jy+=400;
}
else{
cout<<"????!"<<endl;
}
}
if(czj==6){
if(q>=40){
q-=40;
cout<<"????!"<<endl;
playerxl+=100;
playergj+=10;
}
else{
cout<<"????!"<<endl;
}
}
}
Sleep(3000);
clear();
}
}
}