• 个人简介

    这是最新版

    军演:0324 13361278531 SDQDA10007

    #include <bits/stdc++.h>
    #include <windows.h>
    using namespace std;
    long long qian=10000000000;
    void caipiao(){
    	srand(time(0));
    	int zc=rand()%10000+1;
    	qian-=2;
    	if(zc%3==0){
    		cout <<"没中奖"<<endl;
    		cout <<"自身金钱:"<<qian<<endl;
    	}else if(zc==10000){
    		cout <<"中了1000000元"<<endl;
    		qian+=1000000;
    		cout <<"自身金钱:"<<qian<<endl;
    	}else{
    		qian+=rand()%10+1;
    		cout <<"自身金钱:"<<qian<<endl;
    	}
    } 
    void chengxu() {
    	srand(time(0));
    	cout <<"欢迎游玩c++模拟经营1.1.0"<<endl;
    	_sleep(600);
    	cout <<"作者:邵明朗(SML)"<<endl;
    	_sleep(600);
    	cout <<"你要不断收集金钱,做世界首富!"<<endl;
    	_sleep(600);
    	cout <<"本人原创,不喜勿喷"<<endl;
    	_sleep(600);
    	cout <<"Loading";
    	for(int i=1;i<=6;i++){
    		cout <<".";
    		_sleep(unsigned(800));
    	}
    	cout <<endl;
    	string name;
    	cout <<"请输入角色名"<<endl;
    	cin >>name;
    	if(name=="傻逼"||name=="SB"||name=="Sb"||name=="sB"||name=="sb"||name=="2b"||name=="二逼"){
    		cout <<"你才是你的名字,qian-=99999";
    		qian-=99999;
    		printf("当前钱数:%d\n",qian);
    	}
    	cout <<name<<",你好"<<endl;
    	long long sr,mingy=0,zhim=0,fang=0,che=0,dz=0,tga=0,tgb=0,tgc=0,gghy=0,j=0,jc=0;
    	string sr1;
    	while(1){
    		if(gghy>=100&&mingy>=200){
    			cout <<"you buy the AIQIYI,qian+=100000000\n";
    			qian+=100000000;
    			printf("当前钱数:%d\n",qian);
    		}
    		cout <<"1.做生意"<<endl;
    		cout <<"2.购买物品"<<endl;
    		cout <<"3.个人资料"<<endl;
    		cout <<"4.58同城应聘"<<endl;
    		cout <<"5.学习(一次性获得大量金钱)"<<endl;
    		cout <<"6.退出"<<endl;
    		cin >>sr;
    		system("cls");
    		if(qian<0){
    			cout <<"你破产了\n";
    			_sleep(1200);
    			return;
    		}
    		if(sr==5){
    			cout <<"1.语文\n";
    			cout <<"2.数学\n";
    			cout <<"3.English\n";
    			cout <<"4.Program\n"; 
    			cin >>sr;
    			if(sr==1){
    				cout <<"第0关:简单古诗填空\n";
    				cout <<"_,_,_,曲项向天歌\n";
    				cout <<"请按如下格式输入:xxx\n";
    				cin >>sr1;
    				if(sr1=="鹅鹅鹅"){
    					cout <<"恭喜!获得了十万金币!\n";
    					qian+=100000;
    					printf("当前钱数:%d\n",qian);
    					tga++; 
    					cout <<"当前语文通关数"<<tga<<endl;
    				}else{
    					cout <<"参与费:10元\n";
    					qian-=10;
    					printf("当前钱数:%d\n",qian);
    				}
    				if(tga>=1){
    					cout <<"您需要观看10秒广告,是否开通会员免广告(输入是或不是)";
    					cin >>sr1;
    					if(sr1=="是"){
    						cout <<"需花费100元\n";
    						qian-=100;
    						printf("当前钱数:%d\n",qian);
    						gghy++;
    					}else{
    						_sleep(10000);
    					} 
    					cout <<"第一关 选择读音\n弥漫(1.mi(二声)2.ni(二声))\n";
    					cin >>sr;
    					if(sr==1){
    						cout <<"恭喜!获得了100万金币!\n";
    						qian+=1000000;
    						printf("当前钱数:%d\n",qian);
    						tga++; 
    						cout <<"当前语文通关数"<<tga<<endl;
    					}else{
    						cout <<"参与费:10元\n";
    						qian-=10;
    						printf("当前钱数:%d\n",qian);	
    					} 
    				}
    			}
    			if(sr==2){
    				cout <<"第0关:2+2=?\n";
    				cin >>sr;
    				if(sr==4){
    					cout <<"恭喜!获得了十万金币!\n";
    					qian+=100000;
    					tgb++;
    					printf("当前数学通关数:%d/n",tgb);
    					printf("当前钱数:%d\n",qian);
    				}else{
    					cout <<"参与费:10元\n";
    					qian-=10;
    					printf("当前钱数:%d\n",qian);	
    				}
    			}
    			if(sr==3){
    				cout <<"I ___ got a computer,so I can't send an email to you.\n";
    				cout <<"A.have B.has C.haven't\n";
    				cin >>sr1;
    				if(sr1=="C"){
    					cout <<"恭喜!获得了十万金币!\n";
    					qian+=100000;
    					tgc++;
    					printf("当前English通关数:%d/n",tgc);
    					printf("当前钱数:%d\n",qian);
    				}else{
    					cout <<"参与费:10元\n";
    					qian-=10;
    					printf("当前钱数:%d\n",qian);	
    				}
    			}
    			if(sr==4){
    				cout <<"C++编程第一关:输出A+B(完善程序)\n";
    				cout <<"#include <bits/stdc++/h>\nusing namespace std;\nint main(){\nint a,b;\ncin >>a>>b;\n1.________\n";
    				cout <<"A.cout <<a+b  B.cout <<a-b  C.cout <<a+b+b\n";
    				cin >>sr1;
    				if(sr1=="A"){
    					cout <<"恭喜!获得了十万金币!\n";
    					qian+=100000;
    				}else{
    					cout <<"参与费:10元\n";
    					qian-=10;
    					printf("当前钱数:%d\n",qian);	
    				}
    			}
    		}
    		if(sr==1){
    			cout <<"1.澳门赌场"<<endl;
    			cout <<"2.彩票"<<endl;
    			cout <<"3.2002年投资\n";
    			cout <<"按其他键退出\n";
    			cin>>sr;
    			system("cls");
    			if(sr==1){
    				int a=rand()%2+1;
    				if(a==1){
    					cout <<"你赌输了"<<endl;
    					qian/=2;
    					printf("当前钱数:%d\n",qian);
    				}else{
    					cout <<"你赌赢了,但是,久赌必输"<<endl;
    					qian*=2;
    					printf("当前钱数:%d\n",qian);
    				}
    			}
    			if(sr==2&&qian>=2){
    				cout <<"您要加倍吗?\n";
    				cin >>sr1;
    				if(sr1=="要"){
    					
    				}
    				cout <<"请输入要买的个数\n";
    				cin >>sr;
    				for(int i=1;i<=sr;i++){
    					caipiao();
    				}
    			}
    			if(sr==3&&qian>=50000){
    				cout <<"你选择造智能手机(需花费1000000)还是造按键手机\n";
    				cout <<"请输智能手机或按键手机\n";
    				cin >>sr1;
    				if(sr1=="按键手机"){
    					cout <<"你热买了几年\n";
    					qian+=200000;
    					cout <<"自身金钱:"<<qian<<endl;
    					cout <<"but,没过几年,你就倒闭了\n";
    					qian-=220000;
    					cout <<"自身金钱:"<<qian<<endl;
    				}else{
    					cout <<"你花了几年进行研发,花费了1000000元\n";
    					qian-=1000000;
    					cout <<"自身金钱:"<<qian<<endl;
    					cout <<"你成了世界一流企业\n";
    					qian+=1000000000;
    					cout <<"自身金钱:"<<qian<<endl;
    				} 
    			}else{
    				cout <<"You are not have too much qian\n";
    			}
    		}
    		if(qian>=4000000000000&&che>=5&&fang>=5&&dz>=5){
    			cout <<"您已通关,亲爱的世界首富"<<endl;
    			cout <<"欢迎期待下一版本"<<endl;
    			_sleep(800);
    			cout <<"Goodbye"<<endl;
    			_sleep(1000); 
    			return; 
    		}
    		if(sr==6){
    			cout <<"真的要退出吗,退出后会丢失进度"<<endl;
    			cout <<"请选择是或否"<<endl;
    			cin >>sr1;
    			if(sr1=="是"){
    				return;
    			}
    		}
    		if(sr==3){
    			cout <<name<<"的个人主页\n\n"<<endl;
    			cout <<"房子数:"<<fang<<endl;
    			cout <<"车子数:"<<che<<endl;
    			cout <<"自身金钱:"<<qian<<endl;
    			cout <<"名誉:"<<mingy<<endl;
    			cout <<"知名度"<<zhim<<endl;
    		}
    		if(sr==4){
    			cout <<"1.扫大街的 工资:3000\n";
    			cout <<"2.图灵编程教育老师 工资:5000-8000 职业需求:电子设备一台"<<endl;
    			cout <<"3.洛谷站长(kkksc_03) 工资:15000职业需求:电子设备一台\n";
    			cout <<"4.HUAWEI高管 工资:100000职业需求:电子设备3台\n";
    			cin >>sr;
    			if(sr==1){
    				cout <<"一天,一个女人找到了你,他看好了你"<<endl;
    				if(qian>=1000000||fang>=3||che>=8){
    					cout <<"他对你很好,直接就结婚了"<<endl;
    					cout <<"钱增加100000"<<endl; 
    				}else{
    					cout <<"妹子生气的走了"<<endl;
    				}
    				cout <<"请问水瓶应该投进哪个垃圾桶"<<endl;
    				cout <<"A.可回收 b.不可回收 C.其他垃圾"<<endl;
    				cin >>sr1;
    				if(sr1=="A"||sr1=="a"){
    					cout <<"你答对了"<<endl;
    					qian+=3000;
    					cout <<"自身金钱:"<<qian<<endl;
    				}else{
    					cout <<"答错了"<<endl;
    				} 
    			}
    			if(sr==2&&dz>0){
    				cout <<"1.修改A+B问题 奖金:5000"<<endl;
    				cout <<"2.修改从一输出到一百问题 奖金:8000"<<endl;
    				cin >>sr;
    				system("cls");
    				if(sr==1){
    					cout <<"#include <iostream>"<<endl;
    					cout <<"using namespace std;"<<endl;
    					cout <<"int main(){"<<endl;
    					cout <<"	int a,b;"<<endl;
    					cout <<"	cin >>a>>b;"<<endl;
    					cout <<"	cout <<a-1+b-1"<<endl;
    					cout <<"	return 0\n}"<<endl;
    					cout <<"请问是第几行出了问题"<<endl;
    					cin >>sr;
    					if(sr==6){
    						qian+=5000;
    						cout <<"自身金钱:"<<qian<<endl;
    					}else{
    						cout <<"回答错误"<<endl;
    					}
    				}
    				if(sr==2){
    					cout <<"#include <iostream>"<<endl;
    					cout <<"using namespace std;"<<endl;
    					cout <<"int main(){"<<endl;
    					cout <<"	for(int i=0;i<=100;i++){ "<<endl;
    					cout <<"		cout <<i<<\" \";\n"; 
    					cout <<"	}"<<endl;
    					cout <<"	return 0\n}"<<endl;
    					cout <<"请问是第几行出了问题"<<endl;
    					cin >>sr;
    					if(sr==4){
    						qian+=8000;
    						cout <<"自身金钱:"<<qian<<endl;
    					}else{
    						cout <<"回答错误"<<endl;
    					}
    				}
    			}
    			if(sr==3&&dz>=1){
    				cout <<"Let`s have a game\n";
    				cout <<"One day a user`s name is kkksc03 \n What are we do?\n";
    				cout <<"1.封禁 2.不管\n";
    				cin >>sr;
    				if(sr==1){
    					cout <<"A best choose!";
    					qian+=15000;
    					cout <<"\n金钱:"<<qian<<"\n";
    				}else{
    					cout <<"他散布了你的谣言,你赔了3000元"<<endl;
    					qian-=3000;
    					cout <<"\n金钱:"<<qian<<"\n";
    				}
    			}
    			if(sr==4&&dz>=3){
    				cout <<"华为公司高管 你好\n";
    				cout <<"你要自研芯片吗?\n";
    				cout <<"请输入是或否\n";
    				cin >>sr1;
    				if(sr1=="是"){
    					cout <<"需花费30000元 确定吗?\n"; 
    					cout <<"请输入是或否\n";
    					cin >>sr1;
    					if(sr1=="是"){
    						cout <<"A Best Choose!";
    						qian+=100000;
    						cout <<"\n金钱:"<<qian<<"\n";
    					}else{
    						cout <<"WA\n";
    						cout <<"你赔了300000元\n";
    						qian-=300000;
    						cout <<"\n金钱:"<<qian<<"\n"; 
    					}
    				}else{
    					cout <<"WA\n";
    					cout <<"你赔了300000元\n";
    					qian-=300000;
    					cout <<"\n金钱:"<<qian<<"\n"; 
    				}
    			} 
    		}
    		if(sr==2){
    			cout <<"1.房子"<<endl;
    			cout <<"2.车子"<<endl;
    			cout <<"3.电子设备"<<endl;
    			cout <<"4.广告会员\n"; 
    			cout <<"输入0退出"<<endl;
    			cin >>sr;
    			if(sr==1){
    				cout <<"1.三线小城豪宅 价值:500000"<<endl;
    				cout <<"2.二线城市150平大平层(城中心) 价值:3500000"<<endl;
    				cout <<"3.一线城市城边小屋 价值:3000000"<<endl;
    				cout <<"4.一线城市城中心80平 价值:4000000"<<endl;
    				cout <<"5.一线城市城中心180平 价值:9000000"<<endl;
    				cout <<"6.北京四合院 价值:100000000"<<endl;
    				cout <<"7.北京西城100平 价值:10000000"<<endl;
    				cout <<"输入8退出"<<endl;
    				cin >>sr;
    				system("cls");
    				if(sr==1){
    					if(qian>=500000){
    						cout <<"购买成功"<<endl;
    						qian-=500000;
    						mingy++;
    						zhim++;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==2){
    					if(qian>=3500000){
    						cout <<"购买成功"<<endl;
    						qian-=3500000;
    						mingy+=3;
    						zhim+=3;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==3){
    					if(qian>=3000000){
    						cout <<"购买成功"<<endl;
    						qian-=3000000;
    						mingy+=2;
    						zhim+=2;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==4){
    					if(qian>=4000000){
    						cout <<"购买成功"<<endl;
    						qian-=4000000;
    						mingy+=4;
    						zhim+=4;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==5){
    					if(qian>=9000000){
    						cout <<"购买成功"<<endl;
    						qian-=9000000;
    						mingy+=9;
    						zhim+=9;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==6){
    					if(qian>=100000000){
    						cout <<"购买成功"<<endl;
    						qian-=100000000;
    						mingy+=100;
    						zhim+=100;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==7){
    					if(qian>=10000000){
    						cout <<"购买成功"<<endl;
    						qian-=10000000;
    						mingy+=10;
    						zhim+=10;
    						fang++;
    						cout <<"自身金钱:"<<qian<<endl;
    						cout <<"名誉:"<<mingy<<endl;
    						cout <<"知名度"<<zhim<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    			}
    			if(sr==2){
    				cout <<"1.五菱宏光 价值:50000"<<endl;
    				cout <<"2.奥迪A3 Sportback 价值:200000"<<endl;
    				cout <<"3.宝马530Li 价值:500000"<<endl;
    				cout <<"4.奔驰S450 价值:1000000"<<endl;
    				cout <<"5.越野房车 价值:100000000"<<endl;
    				cout <<"输入6退出"<<endl;
    				cin >>sr;
    				if(sr==1){
    					if(qian>=50000){
    						cout <<"购买成功"<<endl;
    						che++;
    						qian-=50000;
    						cout <<"车子数:"<<che<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==2){
    					if(qian>=200000){
    						cout <<"购买成功"<<endl;
    						che++;
    						qian-=200000;
    						mingy++;
    						cout <<"车子数:"<<che<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==3){
    					if(qian>=500000){
    						cout <<"购买成功"<<endl;
    						che++;
    						qian-=500000;
    						mingy+=2;
    						cout <<"车子数:"<<che<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==4){
    					if(qian>=1000000){
    						cout <<"购买成功"<<endl;
    						che++;
    						qian-=1000000;
    						mingy+=10;
    						cout <<"车子数:"<<che<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    				if(sr==5){
    					if(qian>=10000000){
    						cout <<"购买成功"<<endl;
    						che++;
    						qian-=10000000;
    						mingy+=50;
    						cout <<"车子数:"<<che<<endl;
    					}else{
    						cout <<"购买失败"<<endl;
    					}
    				}
    			}
    			if(sr==3){
    				cout <<"1.手机"<<endl;
    				cout <<"2.电脑"<<endl;
    				cout <<"输入3退出"<<endl;
    				cin >>sr;
    				if(sr==1){
    					cout <<"1.诺基亚4400 价值:600"<<endl;
    					cout <<"2.iphone 4 价值:1000"<<endl;
    					cout <<"3.HUAWEI P30 价值:2500"<<endl;
    					cout <<"4.三星Fond 4 价值:10000"<<endl;
    					cout <<"5.镶钻HUAWEI mate X5 价值:1000000"<<endl; 
    					cout <<"输入6退出"<<endl; 
    					cin >>sr;
    					if(sr==1){
    						if(qian>=600){
    							cout <<"购买成功"<<endl;
    							dz++;
    						}else{
    							cout <<"购买失败"<<endl;
    						}
    					}
    					if(sr==2){
    						if(qian>=1000){
    							cout <<"购买成功"<<endl;
    							dz++;
    						}else{
    							cout <<"购买失败"<<endl;
    						}
    					}
    					if(sr==3){
    						if(qian>=2500){
    							cout <<"购买成功"<<endl;
    							dz++;
    							mingy++;
    							cout <<"当前名誉"<<mingy<<endl; 
    						}else{
    							cout <<"购买失败"<<endl;
    						}
    					}
    					if(sr==4){
    						if(qian>=10000){
    							cout <<"购买成功"<<endl;
    							dz++;
    							mingy+=2;
    							cout <<"当前名誉"<<mingy<<endl; 
    						}else{
    							cout <<"购买失败"<<endl;
    						}
    					} 
    					if(sr==5){
    						if(qian>=1000000){
    							cout <<"购买成功"<<endl;
    							dz++;
    							mingy+=10;
    							cout <<"当前名誉"<<mingy<<endl;
    						}else{
    							cout <<"购买失败"<<endl;
    						}
    					}
    				}
    				if(sr==2){
    					cout <<"1.台式机"<<endl;
    					cout <<"2.一体机"<<endl;
    					cout <<"3.笔记本电脑"<<endl;
    					cin >>sr;
    					if(sr==1){
    						cout <<"1.华强北散装电脑 价值:500"<<endl;
    						cout <<"2.DELL2009款式 价值:1000"<<endl;
    						cout <<"3.Mac Mini 价值:11000"<<endl; 
    						cout <<"4.MAC 价值:25000"<<endl;
    						cout <<"5.MAC PRO 价值:100000"<<endl;
    						cout <<"输入6退出"<<endl;
    						cin >>sr; 
    						system("cls");
    						if(sr==1){
    							if(qian>=500){
    								cout <<"购买成功"<<endl;
    								qian-=500;
    								dz++;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==2){
    							if(qian>=1000){
    								cout <<"购买成功"<<endl;
    								qian-=1000;
    								dz++;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==3){
    							if(qian>=11000){
    								cout <<"购买成功"<<endl;
    								qian-=11000;
    								mingy++;
    								dz++;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==4){
    							if(qian>=25000){
    								cout <<"购买成功"<<endl;
    								qian-=25000;
    								mingy+=3; 
    								dz++;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl; 
    							}
    						}
    						if(sr==5){
    							if(qian>=100000){
    								cout <<"购买成功"<<endl;
    								qian-=100000;
    								mingy+=10;
    								dz++;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout<<"购买失败"<<endl;
    							}
    						}
    					}
    					if(sr==2){
    						cout <<"1.散装一体机 价值:500"<<endl;
    						cout <<"2.HUAWEI 一体机 价值:5000"<<endl;
    						cout <<"3.IMAC 价值:50000"<<endl;
    						cin >>sr;
    						if(sr==1){
    							if(qian>=500){
    								cout <<"购买成功"<<endl;
    								dz++;
    								qian-=500;
    							}else{
    								cout <<"购买失败"<<endl; 
    							}
    						}
    						if(sr==2){
    							if(qian>=5000){
    								cout <<"购买成功"<<endl;
    								dz++;
    								qian-=5000;
    								mingy++;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==3){
    							if(qian>=50000){
    								cout <<"购买成功"<<endl;
    								dz++;
    								qian-=50000;
    								mingy+=5;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    					}
    					if(sr==3){
    						cout <<"1.散装笔记本 价值:500"<<endl;
    						cout <<"2.某知名品牌二手电脑 价值:1000"<<endl;
    						cout <<"3.华为笔记本 价值:5000"<<endl;
    						cout <<"4.MACBOOk Air 价值:11000"<<endl;
    						cout <<"5.MACBOOK PRO 价值:50000"<<endl;
    						cin >>sr;
    						if(sr==1){
    							if(qian>=500){
    								cout <<"购买成功"<<endl;
    								qian-=500;
    								dz++;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						} 
    						if(sr==2){
    							if(qian>=1000){
    								cout <<"购买成功"<<endl;
    								qian-=1000;
    								dz++;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==3){
    							if(qian>=5000){
    								cout <<"购买成功"<<endl;
    								dz++;
    								qian-=5000;
    								mingy++;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==4){
    							if(qian>=11000){
    								cout <<"购买成功"<<endl;
    								qian-=11000;
    								mingy++;
    								dz++;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    						if(sr==3){
    							if(qian>=50000){
    								cout <<"购买成功"<<endl;
    								dz++;
    								qian-=50000;
    								mingy+=5;
    								cout <<"名誉:"<<mingy<<endl;
    							}else{
    								cout <<"购买失败"<<endl;
    							}
    						}
    					}
    				} 
    			}
    			if(sr==4){
    				cout <<"How much do you want?\n";
    				cin >>sr;
    				for(int i=1;i<=sr;i++){
    					qian-=100;
    					gghy++;
    				}
    			}
    		}
    	}
    	return;
    }
    int main(){
    	start:
    	cout <<"Powered by shaominglang & huangxinye\n";
    	cout << "是否登录?\n是 or 否\n";
    	string s; cin >> s;
    	if(s == "是") {
    		here:
    		string name, pword;
    		srand((unsigned)time(0));
    		int ce = rand()%5+1;
    		string pda = "ahklsd", pdb = "kshfke", pdc = "reuwin", pdd = "skfeju", pde = "lesiuc", pd;
    		cout << "使用本地账户登录 or 返回\n";
    		cin >> s;
    		if(s == "1") {
    			Sleep(500); system("cls");
    			cout << "用户名:1	密码:";
    			if(ce==1){
    				pd=pda;
    			}if(ce==2)pd=pdb;if(ce==3)pd=pdc;if(ce==4)pd=pdd;if(ce==5)pd=pde;
    			cout << pd << "\n[系统提示]请输入用户名:"; cin >> name;
    			cout << "[系统提示]请输入密码:"; cin >> pword;
    			if(name != "1" || pword != pd) {
    				cout << "[系统提示]用户名或密码错误!";
    				Sleep(1000); system("cls"); goto here;
    			}
    			cout << "登录成功!";
    			Sleep(500); system("cls"); chengxu();
    		} else {
    			Sleep(500); system("cls"); goto start;
    		}
    	}
    	return 0;
    }
    
  • 最近活动

  • Stat

  • Rating