版本比较
采石场
正文
增加 12 行删除 12 行
1234456789101011121313141516171819202021222324232425262728337 行未改动全部展开366367368369370370371372373374375375376377378378379380381382383384385386387388387388389390391392335 行未改动全部展开72872973073173273273373473573611 行未改动采石场(1.0.0)代码
```#include<bits/stdc++.h>//采石场 #include<bits/stdc++.h>//采石场#include<windows.h>using namespace std;string csc;long long wz=1,cz,st_hl,i,hgy_hl,scy_hl,say_hl,ctk_hl,jy_hl,gtj_hl,yj_hl,jgs_hl,mt_hl,kqs_hl,moy=200;void mz(){//采石场名字 void mz(){//采石场名字 printf("采石场的名称\n=>"); cin>>csc; cout<<"\n"; cout<<"\n";}int main(){ mz(); while(1){ system("cls"); cout<<"========"<<csc<<"采石场========\n"; printf("你要干什么:1.挖矿2.商店"); printf("你要干什么:1.挖矿2.商店"); cin>>cz; if(cz==1){ printf(" 采集种类:"); if(wz==1&&cz==1){//地区 printf(" 采集种类:"); if(wz==1&&cz==1){//地区 printf("石头\n\n硬度:10\n开采:1,放弃:2\n"); cout<<"石头数量:"<<st_hl<<"\n"; cin>>cz; if(cz==1){337 行未改动全部展开}```采石场(1.0.1)代码```cpp#include<bits/stdc++.h>//采石场 #include<bits/stdc++.h>//采石场#include<windows.h>using namespace std;string csc;long long wz=1,cz,st_hl,i,hgy_hl,scy_hl,say_hl,ctk_hl,jy_hl,gtj_hl,yj_hl,jgs_hl,mt_hl,kqs_hl,moy=200;void mz(){//采石场名字 void mz(){//采石场名字 printf("采石场的名称\n=>"); cin>>csc; cout<<"\n"; cout<<"\n";}void cd(){ freopen("csc1.01","w",stdout); cout<<csc<<"\n"; printf("%lld %lld %lld %lld %lld %lld %lld %lld\n",st_hl,hgy_hl,scy_hl,say_hl,ctk_hl,jy_hl,gtj_hl,yj_hl); cout<<moy;}void ck(){ printf(" 采集种类:"); if(wz==1&&cz==1){//地区 printf(" 采集种类:"); if(wz==1&&cz==1){//地区 printf("石头\n\n硬度:10\n开采:1,放弃:2\n"); cout<<"石头数量:"<<st_hl<<"\n"; cin>>cz; if(cz==1){335 行未改动全部展开 mz(); while(1){ system("cls"); cout<<"========"<<csc<<"采石场========\n"; printf("你要干什么:1.挖矿2.商店0.退出\n"); printf("你要干什么:1.挖矿2.商店0.退出\n"); cin>>cz; if(cz==1){ ck(); }else if(cz==2){11 行未改动