跳到正文

个人记录

科目三——火柴人(一时手痒写的代码)

yangzijin约 11 分钟
原文
文章信息与版本

文章信息

发布
2024年11月1日
收录
2025年12月12日
更新
2026年11月16日
篇幅
约 11 分钟

版本

  1. v1当前
C++
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main(){
	int a=1;
	cout<<"********************************"<<endl;
	cout<<"*         火   柴   人         *"<<endl;
	cout<<"*                              *"<<endl;
	cout<<"*            科目三            *"<<endl;
	cout<<"*                              *"<<endl;
	cout<<"*                              *"<<endl;
	cout<<"*                              *"<<endl;
	cout<<"*               -----yangzijijn*"<<endl;
	cout<<"********************************"<<endl;
		Sleep(600);
		system("cls");
		cout<<5;
		Sleep(1000);
		system("cls");
		cout<<4;
		Sleep(800);
		system("cls");
		cout<<3;
		Sleep(700);
		system("cls");
		cout<<2;
		Sleep(700);
		system("cls");
		cout<<1;
		Sleep(900);
		system("cls");
		cout<<"不是奇葩火锅吃不起,"<<endl;
		Sleep(800);
		cout<<"而是海底捞更具性价比。"<<endl;
		Sleep(800);
		cout<<"科目三走起!"; 
		Sleep(1000);
		system("cls");
        cout<<"       ***       "<<endl;
        Sleep(800);
		cout<<"       ***       "<<endl;
		Sleep(650);
		cout<<"        *        "<<endl;
		Sleep(500);
		cout<<"      **  **     "<<endl;
		Sleep(450);
		cout<<"    **  *  **    "<<endl;
		Sleep(400);
		cout<<"    *  * *   *   "<<endl;
		Sleep(350);
		cout<<"      *   *      "<<endl;
		Sleep(300);
		system("cls");
	while(a<=2){
		cout<<"       ***        "<<endl;
		cout<<"       ***        "<<endl;
		cout<<"        *         "<<endl;
		cout<<"    *******       "<<endl;
		cout<<"     ** *  **     "<<endl;
		cout<<"       * *   *    "<<endl;
		cout<<"      *   *       "<<endl;
		Sleep(400);
		system("cls");
		cout<<"       ***       "<<endl;
		cout<<"       ***       "<<endl;
		cout<<"        *        "<<endl;
		cout<<"      ********   "<<endl;
		cout<<"     ** *  **    "<<endl;
		cout<<"    *  * *       "<<endl;
		cout<<"      *   *      "<<endl;
		Sleep(400);
		system("cls");
		a++;
	}
	cout<<"       ***       "<<endl;
	cout<<"       ***       "<<endl;
	cout<<"        *        "<<endl;
	cout<<"      *****      "<<endl;
	cout<<"      * * *      "<<endl;
	cout<<"        *        "<<endl;
	cout<<"      *   *      "<<endl;
	cout<<"       * *       "<<endl;
	Sleep(400);
	system("cls");
	cout<<"       ***       "<<endl;
	cout<<"       ***       "<<endl;
	cout<<"        *        "<<endl;
	cout<<"      *****      "<<endl;
	cout<<"      * * *      "<<endl;
	cout<<"        *        "<<endl;
	cout<<"      *   *      "<<endl;
	cout<<"       * *       "<<endl;
	Sleep(600);
	system("cls");
		cout<<"       ***       "<<endl;
		cout<<"   *   ***       "<<endl;
		cout<<"    **  *        "<<endl;
		cout<<"      ******     "<<endl;
		cout<<"        * **     "<<endl;
		cout<<"        *        "<<endl;
		cout<<"       * *       "<<endl;
		cout<<"      *  *       "<<endl;
		Sleep(500);
		system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"        *        "<<endl;
			cout<<"      *****      "<<endl;
			cout<<"     ** * **     "<<endl;
			cout<<"    *   *   *    "<<endl;
			cout<<"  *   *   *  *   "<<endl;
			cout<<"       * *       "<<endl;
			Sleep(400);
			system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"        *        "<<endl;
			cout<<"      *****      "<<endl;
			cout<<"     ** * **     "<<endl;
			cout<<"    *   *   *    "<<endl;
			cout<<"   *  *   *   *  "<<endl;
			cout<<"       * *       "<<endl;
			Sleep(400);
			system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"     &  * &      "<<endl;
			cout<<"      &**&*      "<<endl;
			cout<<"     **&  **     "<<endl;
			cout<<"    * & &   *    "<<endl;
			cout<<"   **  ** &*     "<<endl;
			cout<<"      *   *      "<<endl;
			cout<<"       * *       "<<endl;
			Sleep(500);
			system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"        *        "<<endl;
			cout<<"      *****      "<<endl;
			cout<<"     *  |*       "<<endl;
			cout<<"      * | *      "<<endl;
			cout<<"        ******   "<<endl;
			cout<<"        * *      "<<endl;
			cout<<"       *   *     "<<endl;
			Sleep(400);
			system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"        *        "<<endl;
			cout<<"      *****      "<<endl;
			cout<<"     *  &*       "<<endl;
			cout<<"      *  |*      "<<endl;
			cout<<"        ******   "<<endl;
			cout<<"        * *      "<<endl;
			cout<<"       *   *     "<<endl;
			Sleep(500);
			system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"        *   *    "<<endl;
			cout<<"   @@* ****  *   "<<endl;
			cout<<"   @*   %* *     "<<endl;
			cout<<"         |       "<<endl;
			cout<<"        ***      "<<endl;
			cout<<"       *  *      "<<endl;
			cout<<"        * *      "<<endl;
			Sleep(900);
			system("cls");
			cout<<"       ***       "<<endl;
			cout<<"       ***       "<<endl;
			cout<<"    *   *        "<<endl;
			cout<<"    * **** *@@   "<<endl;
			cout<<"        %*  @@   "<<endl;
			cout<<"         |       "<<endl;
			cout<<"        ***      "<<endl;
			cout<<"       *  *      "<<endl;
			cout<<"        * *      "<<endl;
			cout<<"未";
			Sleep(300);
			cout<<"完";
			Sleep(100);
			cout<<"待";
			Sleep(50);
			cout<<"续"<<"..........";
	return 0;
}
原文
存档评论1 条抓取于