版本比较
洛谷精灵(1.5版本)
正文
增加 3 行删除 3 行
13 行未改动1415161718181920212259 行未改动8283848586868788899091919293949536 行未改动13 行未改动 n3=rand()%7+0; if(n1==n2||n2==n3||n3==n1)goto laoal; luaul: cout<<"你来到了一个充满洛谷精灵的地方,你有以下精灵可以选择:" <<endl; cout<<"1."<<a[n1]<<" "<<"2."<<a[n2]<<" "<<"3."<<a[n3]<<endl; cout<<"1."<<a[n1]<<" "<<"2."<<a[n2]<<" "<<"3."<<a[n3]<<endl; int x; cin>>x; if(x!=1&&x!=3&&x!=2){cout<<"输入错误"<<endl;Sleep(1000);system("cls");goto luaul;} else if(x==1)x=n1;59 行未改动 if(b4==65){ if(jb2<10){cout<<"钱不够QWQ"<<endl;goto lkakl;} else { if(b5==1)cout<<"你得到了一瓶药水,你喝了后变得很快乐"<<endl; if(b5!=1){cout<<"你得到了一块碎片"<<endl;sp++;cout<<"碎片+1"<<endl;} if(b5!=1){cout<<"你得到了一块碎片"<<endl;sp++;cout<<"碎片+1"<<endl;} cout<<"金币-10"<<endl; jb2-=10; Sleep(1000);system("cls"); } goto lkakl; goto lkakl; } else if(b4==66){ cout<<"ok"<<endl;Sleep(1000);system("cls"); goto lkakl;36 行未改动