5 条题解
-
0
#include <conio.h> #include <bits/stdc++.h> #include <iostream> #include <cstdlib> #include <stdio.h> #include <Windows.h> #include <time.h> using namespace std; int b; int a; int main() { CONSOLE_CURSOR_INFO curInfo; curInfo.dwSize = 1; curInfo.bVisible = FALSE; HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorInfo(handle, &curInfo); for (int i = 0; i < 45; i++) { system("cls"); Sleep(15); cout << " ------- | ------- | | | |---- | | | " << endl; cout << " | | | | | || | |---- | | | | " << endl; cout << " | | | |---| | || | |---| | | " << endl; cout << " | | | | | | | | | | -- -- " << endl; } Sleep(3000); a1: cout << endl; cout << " 输入目录:" << endl; cout << " 1——BT7274" << endl; cout << " 2——信号台1" << endl; cout << " 3——信号台2" << endl; cout << " 4——驾驶舱" << endl; cin >> b; system("cls"); if (b == 1) { cout << " " << endl; cout << " |-----------------------|" << endl; cout << " |-| ╱︵╲ |-|" << endl; cout << " | | | ( ) | | |" << endl; cout << " |-| ╲︶╱ |-|" << endl; cout << " |-----------------------| " << endl; cout << endl; cout << " BT7274: " << endl; cout << endl; cout << " 你还好吗?铁驭 " << endl; cout << " " << endl; cout << " 1.对啊,你是谁? " << endl; cout << " 2.你刚才是不是叫我铁驭?" << endl; int a; cin >> a; system("cls"); if (a == 1) { cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << endl; cout << " 对啊,你是谁? " << endl; cout << " " << endl; cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << "" << endl; cout << " BT7274: " << endl; cout << endl; cout << " 我是BT7274,先锋级泰坦," << endl; cout << " 属于反抗军SRS,掠夺者军团 " << endl; cout << " 你可以叫我BT " << endl; break; } } cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << endl; cout << " BT......了解 " << endl; system("cls"); goto a1; } } } if (a == 2) { cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << endl; cout << " 你刚才是不是叫我铁驭?" << endl; cout << " " << endl; cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; cout << " BT7274: " << endl; cout << endl; cout << " 对 " << endl; cout << " 拉斯提摩沙上尉在临终前 " << endl; cout << " 给了你代理铁驭的身份 " << endl; cout << " " << endl; cout << " 1.对啊,你是谁 " << endl; cout << " " << endl; break; } } } cin >> a; system("cls"); if (a == 1) { cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << endl; cout << " 对啊,你是谁? " << endl; cout << " " << endl; cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; cout << " BT7274: " << endl; cout << 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) system("cls"); cout << " " << endl; cout << " 杰克·库柏: " << endl; cout << endl; cout << " BT......了解 " << endl; system("cls"); goto a1; break; } } } }//b1 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 << " 东北方428公尺" << endl; cout << endl; cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " BT7274: " << endl; cout << " " << endl; cout << " 我的分析结果显示投掷是唯一的办法 " << endl; cout << " 我能够将你扔过去 " << endl; break; } } cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " 杰克·库柏: " << endl; cout << " " << endl; cout << " 1.这太疯狂了" << endl; cout << " 2.你确定吗" << endl; cout << endl; break; } } cin >> a; system ("cls"); if (a == 1) { cout << " 杰克·库柏: " << endl; cout << " " << endl; cout << " 1.这太疯狂了" << endl; cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " BT7274: " << endl; cout << " 铁驭,我是不会疯的" << endl; break; } } } system ("cls"); if (a == 2) { cout << " 杰克·库柏: " << endl; cout << endl; cout << " 2.你确定吗" << endl; cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " BT7274: " << endl; cout << endl; cout << " 相信我" << endl; break; } } } cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " 杰克·库柏: " << endl; cout << endl; cout << " 希望如此" << endl; break; } } cout << endl; cout << "按下[E]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 69 || a == 101) system("cls"); cout << " (登上BT的手ing.....)" << endl; break; } } Sleep(3000); system("cls"); cout << " BT7274: " << endl; cout << endl; cout << " 风力三节,风向二七四" << endl; cout << " 距离95公尺,投掷质量89公斤" << endl; Sleep(4000); system("cls"); cout << "" << endl; cout << " |----| " << endl; cout << " |||||| " << endl; cout << " |-||-| " << endl; cout << " | | " << endl; cout << "|--------------------|-| |-| " << endl; cout << "| |-------------------| | " << endl; cout << "| |-| ︵ |-| | " << endl; cout << "| | | ( ) | | | " << endl; cout << "| |-| ︶ |-| | " << endl; cout << "| |-------------------| | " << endl; cout << " | | " << endl; cout << " | | " << endl; cout << " " << endl; Sleep(2000); cout << " BT7274: " << endl; cout << "" << endl; cout << " 相信我!" << endl; cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << "" << endl; break; } } goto a1; }//b2 if (b == 3) { cout << " " << endl; cout << " |-----------------------|" << endl; 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) system("cls"); cout << " " << endl; cout << " BT7274: " << endl; cout << endl; cout << " 正确 " << endl; cout << " 泰·拉斯提摩沙上尉已阵亡 " << endl; cout << " 现在连线到的是 " << endl; cout << " 代理铁驭,步枪兵杰克·库柏 " << endl; break; } } cout << " " << endl; cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; cout << " 莎拉·布里格斯: " << endl; cout << endl; cout << " 等一下,拉斯提摩沙让你连线步枪兵?" << endl; break; } } cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " BT7274:" << endl; cout << " 对,他没有别的选择" << endl; break; } } cout << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " 莎拉·布里格斯: " << endl; cout << " 了解,我们会将你转给合格的铁驭 " << endl; break; } } cout << " " << endl; cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; cout << " BT7274: " << endl; cout << endl; cout << " 反对,库柏是我的铁驭 " << endl; cout << " 我们现在的作战效能比分超过90%" << endl; cout << " 请求授权保持此连线 " << endl; break; } } cout << " " << endl; cout << "按下[空格]继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; cout << " 莎拉·布里格斯: " << endl; cout << endl; cout << " 唉...... " << endl; cout << " BT...... " << endl; cout << " 你应该庆幸我们无计可施 " << endl; cout << " 准许授权 " << endl; cout << " 库柏,有台机器很赞许你 " << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); cout << " " << endl; break; } } goto a1; break; } } }//b3 if (b == 4) { cout << endl; cout << " 遠征: ________ " << endl; cout << " ___|╲ ╲ " << endl; cout << " |╲ ╲╲ ╲ " << endl; cout << " | ╲| ╲╲ ╲ " << endl; cout << " ╲ | | ╲╲ ╲ " << endl; cout << " ╲| | ╲╲ ╲ " << endl; cout << " | ╲/╲╲╲ ╲ " << endl; cout << " ︵ ╲ ╲/ ╲╲ ╲ " << endl; cout << " (【】) ◎ ? ∴ ┍━━━┑╲ ╲___╲╲ ╲ " << endl; cout << " ︶V ┻ G Q ┃|==>32┃ ╲_______╲╲ ╲" << endl; cout << " ┕━━━┙ " << endl; cout << " " << endl; cout << "按下[空格]键继续......." << endl; while (true) { if (_kbhit()) { char a = _getch(); if (a == 32) system("cls"); break; } } }//b4 goto a1; return 0; } -
0
cout<<" |---------------------------| "<<endl; cout<<" -|----------| |----------|- "<<endl; cout<<" || | ╱----╲ | || "<<endl; cout<<" || |------ | | ╱--╲ | | |---| || "<<endl; cout<<" || | | | || || | --- | || "<<endl; cout<<" || | | | || || | --- | || "<<endl; cout<<" || |------ | | ╲--╱ | | |---| || "<<endl; cout<<" || | ╲----╱ | || "<<endl; cout<<" -|----------| |----------|- "<<endl; cout<<" |---------------------------| "<<endl;
- 1
信息
- ID
- 4916
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 8
- 标签
- (无)
- 递交数
- 133
- 已通过
- 18
- 上传者