5 条题解
-
2
#include <conio.h> using namespace std; int b; int main() { a1: cout << endl; cout << "输入一至五"; cin >> b; if (b == 1) { cout << " |-----------------------|" << endl; cout << " |-| ╱︵╲ |-|" << endl; cout << " | | | ( ) | | |" << endl; cout << " |-| ╲︶╱ |-|" << endl; cout << " |-----------------------| " << endl; cout << " " << endl; cout << " BT7274: " << endl; cout << " 你还好吗?铁驭 " << endl; cout << " " << endl; cout << " 1.对啊,你是谁? " << endl; cout << " 2.你刚才是不是叫我铁驭?" << endl; int a; cin >> a; if (a == 1) { cout << " 杰克·库柏: " << endl; cout << " 对啊,你是谁? " << endl; cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << "" << endl; cout << " BT7274: " << endl; cout << " 我是BT7274,先锋级泰坦," << endl; cout << " 属于反抗军SRS,掠夺者军团 " << endl; cout << " 你可以叫我BT " << endl; cout << " " << endl; break; } } cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << " BT......了解 " << endl; goto a1; } } } if (a == 2) { cout << " 杰克·库柏: " << endl; cout << " 你刚才是不是叫我铁驭?" << endl; cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " BT7274: " << endl; cout << " 对 " << endl; cout << " 拉斯提摩沙上尉在临终前 " << endl; cout << " 给了你代理铁驭的身份 " << endl; cout << " " << endl; cout << " 1.对啊,你是谁 " << endl; cout << " " << endl; break; } } } cin >> a; if (a == 1) { cout << " 杰克·库柏: " << endl; cout << " 对啊,你是谁? " << endl; cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " BT7274: " << endl; cout << " 我是BT7274,先锋级泰坦," << endl; cout << " 属于反抗军SRS,掠夺者军团 " << endl; cout << " 你可以叫我BT " << endl; break; } } cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << " BT......了解 " << endl; goto a1; break; } } } } if (b == 2) { cout << " |-----------------------| " << endl; cout << " |-| ╱︵╲ |-|" << endl; cout << " | | | ( ) | | |" << endl; cout << " |-| ╲︶╱ |-|" << endl; cout << " |-----------------------| " << endl; cout << " " << endl; cout << " 莎拉·布里格斯: " << endl; cout << " 泰坦BT7274,资料记录器显示," << endl; cout << " 原来的铁驭已阵亡 " << endl; cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " BT7274: " << endl; cout << " 正确 " << endl; cout << " 泰·拉斯提摩沙上尉已阵亡 " << endl; cout << " 现在连线到的是 " << endl; cout << " 代理铁驭,步枪兵杰克·库柏 " << endl; break; } } cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " 莎拉·布里格斯: " << endl; cout << " 了解,我们会将你转给合格的铁驭" << endl; break; } } cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " BT7274: " << endl; cout << " 反对,库柏是我的铁驭 " << endl; cout << " 我们现在的作战效能比分超过90%" << endl; cout << " 请求授权保持此连线 " << endl; break; } } cout << " " << endl; cout << "按下空格继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) cout << " " << endl; cout << " 莎拉·布里格斯: " << endl; cout << " 唉...... " << endl; cout << " BT...... " << endl; cout << " 你应该庆幸我们无计可施 " << endl; cout << " 准许授权 "<<endl; cout<< " 库柏,有台机器很赞许你 " << endl; goto a1; break; } } } return 0; }
信息
- ID
- 4487
- 时间
- 1000ms
- 内存
- 512MiB
- 难度
- 8
- 标签
- (无)
- 递交数
- 668
- 已通过
- 98
- 上传者