把1~4按顺序在c++排起来玩

//lin dao 
//修仙模拟器 
//温馨提醒您:登上天庭后的结局是随机的哦
//(较好)
#include <bits/stdc++.h>
using namespace std;
int main() {
    long long n, a, b, c, u, m, ans = 1000, sum = 0;
    cout << "开始修仙!" << endl;
    cout << "你决定修仙多少年:"; cin >> n;
	if (n < 500) {
		for (int i = 1; i <= n; i++) {
			cout << "已修仙" << i << "年" << endl;
		}
		cout << "修仙完毕!继续修仙!" << endl; 
		cout << "请决定你的修仙时间:"; cin >> b;
		for (int j = n; j <= 500; j++) {
			cout << "已修仙" << j << "年" << endl;
		}
		cout << "你遇到了魔物!" << endl;
		cout << "你的战力:"  << ans << endl;
		cout << "魔物1战力:982 " << "魔物2战力:1289 " << "魔物3战力:7188" << endl;
        cout << "你即将挑战魔物!" << endl;
		cout << "请输入数字:"; cin >> a;
		if (a == 1) {
			cout << "挑战成功!" << endl;
			cout << "你的战力:" << ans + 300 << endl;
			cout << "继续修仙!" << endl;
			cout << "请决定你继续修仙时间:"; cin >> n;

			for (int k = 500; k <= 500 + n; k++) {
				cout << "已修仙" << k << "年" << endl;
			} 
			cout << "发现宝物!" << endl;
			cout << "请选择:"  << endl;
			cout << "1.金箍棒 " << "2.六脉神剑" << endl;
			cout << "输入你的选择:"; cin >> c;
			if (c == 1) {
				cout << "你的战力达到:" << ans + 300 + n * 5 + 1000 << endl;
				cout << "继续修仙!" << endl;
				cout << "请决定你这次修仙时间:"; cin >> a;
				for (int w = 500 + n; w <= 8888; w++) {
				    cout << "已修仙" << w << "年" << endl; 
				}
					cout << "你即将度过九雷神劫!" << endl;
					cout << "雷劫通过战力:114514" << endl;
					cout << "你获得了孙悟空的恩赐,可借助战力50000战力!" << endl;
					cout << "开始渡劫......   你可以赌一赌!请输出(渡劫成功就输出1,否则输出2)"; cin >> b; 
					if (ans + 300 + n * 5 + 1000 + a * 0.04 + 50000 > 114514) {
					    cout << "渡劫成功!恭喜成为神圣道仙!" << endl;
					    cout << "继续修仙!" << endl;
				        cout << "请决定修仙时间:"; cin >> b;
						for (int p = 8888; p <= 8888 + b; p++) {
							cout << "已修仙" << p << "年" << endl; 
						} 
						sum = ans + 500 + 114514 + b * 2 + a * 0.8 + 1000;
						cout << "当前战力:" << fixed << setprecision(1) << sum << endl; 
						cout << "发现仙丹!"  << endl;
						cout << "1.雷霆仙丹 " << "2.魔力仙丹 " << "3.战神仙丹" << endl;
						cout << "请输入数字:";cin >> m;
						if (m == 1) {
							cout << "你受到了雷霆的惩罚!战力减掉1000000" << endl;
							cout << "当前战力:" << sum - 1000000 << endl;
							cout << "你将受到最后神灵的考验!" << endl;
							cout << "神灵如下,请选择:" << endl;
							cout << "1.孙悟空  要求:吃下雷霆仙丹并战力达到8000000" << endl;
							cout << "2.哪吒   要求:修仙时间达到30000年" << endl;
							cout << "3.东海龙王   要求:战力大于9999999" << endl;
							cout << "请选择:"; cin >> u; 
							if (u == 3 && sum - 1000000 > 9999999) {
								cout << "恭喜!你通过了东海龙王的考验!成为神圣灵魂王!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "金箍棒进化了!你的战力再次提高5000000!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao + 5000000 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 5000000;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了太白金星!" << endl;
																cout << "太白金星战力:26000000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 26000000) {
																	cout << "你打倒了太白金星!" << endl;
																	cout << "你夺走了他的兵器拂尘!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了如来佛祖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被如来佛祖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了如来佛祖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被太白金星击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "你将金箍棒一扫,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎齐天大圣登上天庭巅峰! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
						    } else if (u == 3 && sum - 1000000 <= 9999999) {
						    	cout << "修仙失败!你没有通过东海龙王的考验!你将堕落人间,转世投胎......" << endl; 
							} else if (u == 2 && 8888 + b >= 30000) {
								cout << "恭喜!你通过了哪吒的考验!成为神圣灵魂王!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "金箍棒进化了!你的战力再次提高5000000!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao + 5000000 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 5000000;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了太白金星!" << endl;
																cout << "太白金星战力:26000000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 26000000) {
																	cout << "你打倒了太白金星!" << endl;
																	cout << "你夺走了他的兵器拂尘!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了如来佛祖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被如来佛祖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了如来佛祖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被太白金星击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "你将金箍棒一扫,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎齐天大圣登上天庭巅峰! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
							} else if (u == 2 && 8888 + b < 30000) {
								cout << "修仙失败!你没有通过哪吒的考验!你将堕落人间,转世投胎......" << endl;
							} else if (u == 1 && sum - 1000000 >= 8000000) {
								cout << "恭喜!你通过了孙悟空的考验!成为神圣灵魂王!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" << (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "金箍棒进化了!你的战力再次提高5000000!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao + 5000000 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 5000000;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了太白金星!" << endl;
																cout << "太白金星战力:26000000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 26000000) {
																	cout << "你打倒了太白金星!" << endl;
																	cout << "你夺走了他的兵器拂尘!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了如来佛祖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被如来佛祖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了如来佛祖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被太白金星击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "你将金箍棒一扫,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎齐天大圣登上天庭巅峰! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
							} else if (u == 1 && sum - 1000000 < 8000000) {
								cout << "修仙失败!你没有通过孙悟空的考验!你将堕落人间,转世投胎......" << endl;
							}
						} else if (m == 2) {
							cout << "你吃下了魔力仙丹!身体似乎没有什么变化......" << endl;
							cout << "当前战力:" << sum << endl;
							cout << "你将受到最后神灵的考验!" << endl;
							cout << "神灵如下,请选择:" << endl;
							cout << "1.孙悟空  要求:吃下雷霆仙丹并战力达到8000000" << endl;
							cout << "2.哪吒   要求:修仙时间达到30000年" << endl;
							cout << "3.东海龙王   要求:战力大于9999999" << endl;
							cout << "请选择:"; cin >> u; 
							if (u == 3 && sum > 9999999) {
								cout << "恭喜!你通过了东海龙王的考验!成为神圣灵魂王!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "金箍棒进化了!你的战力再次提高5000000!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao + 5000000 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 5000000;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了太白金星!" << endl;
																cout << "太白金星战力:26000000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 26000000) {
																	cout << "你打倒了太白金星!" << endl;
																	cout << "你夺走了他的兵器拂尘!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了如来佛祖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被如来佛祖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了如来佛祖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被太白金星击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "你将金箍棒一扫,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎齐天大圣登上天庭巅峰! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
						    } else if (u == 3 && sum <= 9999999) {
						    	cout << "修仙失败!你没有通过东海龙王的考验!你将堕落人间,转世投胎......" << endl; 
							} else if (u == 2 && 8888 + b >= 30000) {
								cout << "恭喜!你通过了哪吒的考验!成为神圣灵魂王!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "金箍棒进化了!你的战力再次提高5000000!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao + 5000000 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 5000000;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了太白金星!" << endl;
																cout << "太白金星战力:26000000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 26000000) {
																	cout << "你打倒了太白金星!" << endl;
																	cout << "你夺走了他的兵器拂尘!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了如来佛祖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被如来佛祖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了如来佛祖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被太白金星击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "你将金箍棒一扫,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎齐天大圣登上天庭巅峰! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
							} else if (u == 2 && 8888 + b < 30000) {
								cout << "修仙失败!你没有通过哪吒的考验!你将堕落人间,转世投胎......" << endl;
							} else if (u == 1 && sum >= 8000000) {
								cout << "恭喜!你通过了孙悟空的考验!成为神圣灵魂王!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "金箍棒进化了!你的战力再次提高5000000!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao + 5000000 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 5000000;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了太白金星!" << endl;
																cout << "太白金星战力:26000000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 26000000) {
																	cout << "你打倒了太白金星!" << endl;
																	cout << "你夺走了他的兵器拂尘!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了如来佛祖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被如来佛祖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了如来佛祖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被太白金星击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "你将金箍棒一扫,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎齐天大圣登上天庭巅峰! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
							} else if (u == 1 && sum < 8000000) {
								cout << "修仙失败!你没有通过孙悟空的考验!你将堕落人间,转世投胎......" << endl;
							}
						} else if (u == 3) {
							cout << "你受到了战神的诅咒!" << endl;
							cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
						}
				    } else {
					    cout << "渡劫失败!你将堕落人间,转世投胎......" << endl; 
				    } 
				} else if (c == 2) {
					cout << "你的战力加了0.6倍!" << endl;
				cout << "当前战力:" << fixed << setprecision(1) << (ans + 300 + n * 2) * 1.6 << endl;
				cout << "继续修仙!" << endl;
				cout << "请决定你这次修仙时间:"; cin >> a;
				for (int w = 1000; w <= 8888; w++) {
					cout << "已修仙" << w << "年" << endl;
			    }
					cout << "你即将度过九雷神劫!" << endl;
					cout << "雷劫通过战力:114514" << endl;
					cout << "六脉神剑有了自主意识!你获得了他的庇护!   雷劫通过战力:99999" << endl;
					cout << "开始渡劫......   你可以赌一赌!请输出(渡劫成功就输出1,否则输出2)"; cin >> b; 
					if (ans + 480 + 5 * n + a * 0.7 + 8888 > 99999) {
				        cout << "渡劫成功!你成为了醉酒剑仙!" << endl;
				        cout << "继续修仙!" << endl;
				        cout << "请决定修仙时间:"; cin >> b;
						for (int p = 8888; p <= 8888 + b; p++) {
							cout << "已修仙" << p << "年" << endl; 
						} 
						sum = (ans + 114514 + b * 0.6 + a * 0.08) * 1.6;
						cout << "当前战力:" << sum << endl; 
						cout << "发现仙丹!"  << endl;
						cout << "1.雷霆仙丹 " << "2.魔力仙丹 " << "3.战神仙丹" << endl;
						cout << "请输入数字:";cin >> m;
						if (m == 1) {
							cout << "你受到了雷霆的惩罚!战力减掉1000000" << endl;
							cout << "当前战力:" << sum - 1000000 << endl;
							cout << "你将受到最后神灵的考验!" << endl;
							cout << "神灵如下,请选择:" << endl;
							cout << "1.盘古  要求:战力达到7777777" << endl;
							cout << "2.神农氏   要求:修仙时间达到20000年" << endl;
							cout << "3.女娲   要求:吃下魔力仙丹" << endl;
							cout << "请选择:"; cin >> u; 
							if (u == 3) {
								cout << "修仙失败!你没有通过女娲的考验!你将堕落人间,转世投胎......" << endl;
							} else if (u == 2 && 8888 + b >= 20000) {
								cout << "恭喜!你通过了神农氏的考验!成为醉酒神剑天神!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "六脉神剑化出剑魂!你的战力再次提高5倍!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao * 1.5 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 1.5;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了杨戬!" << endl;
																cout << "杨戬战力:25010000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 25010000) {
																	cout << "你打倒了杨戬!" << endl;
																	cout << "你夺走了他的三尖两刃刀!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了托塔天王李靖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被李靖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了李靖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被杨戬击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "仅仅用六脉神剑一斩,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎玉帝大人回归! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
							} else if (u == 2 && 8888 + b < 20000) {
								cout << "修仙失败!你没有通过神农氏的考验!你将堕落人间,转世投胎......" << endl;
							} else if (u == 1 && sum - 1000000 >= 7777777) {
								cout << "恭喜!你通过了盘古的考验!成为醉酒神剑天神!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "六脉神剑化出剑魂!你的战力再次提高5倍!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao * 1.5 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 1.5;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "你一时疏忽,被天兵打出魂魄!" << endl;
														cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
													}
												}
											}
										}
									} else if (cut >= 30000000 && cut < 40000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;
													int xxx;
													cin >> xxx;
													if (xxx == 2) {
														cout << "战斗中......" << endl;
														cout << "战力:" << cut - 3500000 << endl;
														cout << "(请输入2继续)" << endl;
														int manboo;
														cin >> manboo;
														if (manboo == 2) {
															cout << "战斗中......" << endl;
															cout << "战力:" << cut - 4000000 << endl;
															cout << "(请输入2继续)" << endl;
															int ra;
															cin >> ra;
															if (ra == 2 && cut - 4000000 >= 35000000) {
																cout << "你成功突破了天兵天将的围攻!" << endl;
																cout << "你一路打上凌霄宝殿!" << endl;
																cout << "多年功力使你在天庭上势如破竹!" << endl;
																cout << "你遇到了杨戬!" << endl;
																cout << "杨戬战力:25010000" << endl;
																cout << "请按任意键继续......" << endl;
																int qwe;
																cin >> qwe;
																if (cut - 4000000 >= 25010000) {
																	cout << "你打倒了杨戬!" << endl;
																	cout << "你夺走了他的三尖两刃刀!" << endl;
																	cout << "你愈发强大!" << endl;
																	int good;
																	good = (cut - 4000000) * 1.1;
																	cout << "当前战力:" << good << endl;
																	cout << "请按任意键继续......" << endl;
																	int hhhhhh;
																	cin >> hhhhhh;
																	cout << "你遇到了托塔天王李靖!" << endl;
																	cout << "你与他一战!" << endl;
																	cout << "请按任意键继续......" << endl;
																	int erw;
																	cin >> erw;
																	if (good <= 34000000) {
																		cout << "你被李靖击败了!" << endl;
																		cout << "修仙失败!你将堕落人间,转世投胎......" << endl;
																	} else {
																		cout << "你打倒了李靖!" << endl;
																		cout << "你的战力泰国丸霉,一众神仙不敢上前!" << endl;
																		cout << "请按任意键继续......" << endl;
																		int iii;
																		cin >> iii;
																		cout << "玉帝更是吓得发抖,主动让位!" << endl;
																		cout << "恭喜,修仙成功!" << endl;
																		cout << "游戏已结束!" << endl;
																	}
																} else {
																	cout << "你被杨戬击败了!" << endl;
																	cout << "修仙失败!你将堕落人间,转世投胎......" << endl; 
																}
															} 
														} 
													} 													
												}
											}
										}
									} else if (cut >= 40000000 && cut < 50000000) {
										cout << "开始战斗!" << endl;
										cout << "(请输入3继续)" << endl;
										int ug;
										cin >> ug;
										if (ug == 3) {
										cout << "仅仅用六脉神剑一斩,天兵天将就魂飞魄散!" << endl;
										cout << "天兵天将不敢上前!" << endl;
										cout << "你坦然走进了凌霄宝殿!" << endl;
										cout << "你顺利将玉帝赶出天庭,坐上龙椅!" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束!" << endl;
										}	
									} else if (cut > 50000000) {
										cout << "天兵天将见你的内力惊人,齐声说道:" << endl;
										cout << "“欢迎玉帝大人回归! ”" << endl;
										cout << "修仙成功!" << endl;
										cout << "游戏已结束" << endl; 
									}
								}
							} else if (u == 1 && sum - 1000000 < 7777777) {
								cout << "修仙失败!你没有通过盘古的考验!你将堕落人间,转世投胎......" << endl;
							}
						} else if (m == 2) {
							cout << "你吃下了魔力仙丹!身体似乎没有什么变化......" << endl;
							cout << "当前战力:" << sum << endl;
							cout << "你将受到最后神灵的考验!" << endl;
							cout << "神灵如下,请选择:" << endl;
							cout << "1.盘古  要求:战力达到7777777" << endl;
							cout << "2.神农氏   要求:修仙时间达到20000年" << endl;
							cout << "3.女娲   要求:吃下魔力仙丹" << endl;
							cout << "请选择:"; cin >> u; 
							if (u == 3) {
								cout << "恭喜!你通过了女娲的考验!成为醉酒神剑天神!" << endl;
								cout << "是否继续修仙?" << endl;
								cout << "1.继续修仙 2.结束修仙" << endl;
								cout << "请决定:" << endl;
								int baga;
								cin >> baga;
								if (baga == 2) {
									cout << "游戏已结束!" << endl;
								} else if (baga == 1) {
									cout << "你决定继续修仙!" << endl;
									cout << "修仙多少年:";
									int jiuji;
									cin >> jiuji;
									cout << "请按任意键继续......" << endl;
									int uuuuu;
									cin >> uuuuu;
									for (int rp = 8888 + b; rp <= 8888 + b + jiuji; rp++) {
										cout << "已修仙" << rp << "年" << endl;
									}
									cout << "当前战力:" << sum + jiuji * 0.4 << endl;
									cout << "继续修仙!" << endl;
									cout << "继续修仙多少年:";
									int pigu;
									cin >> pigu;
									cout << "请按任意键继续......" << endl;
									int bv;
									cin >> bv;
									bv = 8888 + b + jiuji;
									for (int yyy = bv; yyy <= bv + pigu; yyy++) {
										cout << "已修仙" << yyy << "年" << endl; 
									}
									int dddda;
									dddda = sum + jiuji * 0.4;
									cout << "当前战力:" <<  (dddda + pigu) * 1.2 << endl;
									cout << "请按任意键继续......" << endl;
									int hhhj;
									cin >> hhhj;
									cout << "你将踏上天庭!" << endl;
									cout << "你的气场让天兵天将迅速将你围绕起来!" << endl;
									cout << "六脉神剑化出剑魂!你的战力再次提高5倍!" << endl;
									cout << "你要突破天兵天将的包围!" << endl;
									int xiao;
									xiao = dddda + pigu * 0.4;
									cout << "当前战力:" <<  xiao * 1.5 << endl;
									cout << "每次突破重围都会消耗战力!" << endl;
									cout << "请按任意键继续......" << endl;
									int fa;
									cin >> fa;
									int cut;
									cut = xiao * 1.5;
									if (cut < 10000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "不好!你的战力太低,被天兵合力顶出天庭!" << endl;
										cout << "修仙失败!你将堕落世间,转世投胎......" << endl;
									} else if (cut >= 10000000 && cut < 30000000) {
										cout << "开始战斗!" << endl;
										cout << "你尝试突破重围!" << endl;
										cout << "(请输入2继续)" << endl;
										int rw;
										cin >> rw;
										if (rw == 2) {
											cout << "战斗中......" << endl;
											cout << "战力:" << cut - 500000 << endl;
											cout << "(请输入2继续)" << endl;
											int jp;
											cin >> jp;
											if (jp == 2) {
												cout << "战斗中......" << endl;
												cout << "战力:" << cut - 1000000 << endl;
												cout << "(请输入2继续)" << endl;
												int ppm;
												cin >> ppm;
												if (ppm == 2) {
													cout << "战斗中......" << endl;
													cout << "你蓄力一击!" << endl;
													cout << "战力:" << cut - 2500000;
													cout << "(请输入2继续)" << endl;