-
个人简介
#include <Windows.h> #include <bits/stdc++.h> using namespace std;
void Waiting (int t) { if (t == 0) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** ***" << endl; cout << "| * | * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 1) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** ***" << endl; cout << "| *--| * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 2) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** ***" << endl; cout << "| * | * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 3) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** **" << endl; cout << "|-- | * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 4) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** ***" << endl; cout << "| *--| * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 5) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** ***" << endl; cout << "| *--| * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 6) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** ***" << endl; cout << "| *--| * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 7) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** **" << endl; cout << "|----| * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 8) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** ***" << endl; cout << "| * | * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 9) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** ***" << endl; cout << "| *--| * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 10) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** ***" << endl; cout << "| * | * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 11) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** **" << endl; cout << "|-- | * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 12) { cout << " ----- * * * * * *" << endl; cout << "| | | * * * **** *** **** **" << endl; cout << "|-- | * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 13) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** **" << endl; cout << "|----| * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 14) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** **" << endl; cout << "|-- | * * * * * * * * * * * * *" << endl; cout << "| | | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } else if (t == 15) { cout << " ----- * * * * * *" << endl; cout << "| | * * * **** *** **** **" << endl; cout << "|-- | * * * * * * * * * * * * *" << endl; cout << "| | * * * * * * * * * * * * *" << endl; cout << " ----- * * *** * * ** * * * ****" << endl; cout << " *" << endl; cout << " * *" << endl; cout << " ***" << endl; } }
int main() { for (int i = time (0);;i ++) { i %= 16; Waiting (i); Sleep (1000); system ("cls"); } return 0; }
-
通过的题目
题目标签
- 语言基础
- 5
- 循环语句
- 3
- 普及组
- 3
- 中级组
- 2
- 模拟
- 1
- 基础语法
- 1
- 二维数组
- 1
- 字符串
- 1
- 字符数组
- 1
- 动态规划
- 1
- 背包
- 1
- 提高组
- 1