#include <bits/stdc++.h>
#include <windows.h>
using namespace std;
void Time()
{
long long t = 0;
while(t <= 40000000)
t++;
}
void Print()
{
for(int i = 1;i <= 50;i++)
{
for(int j = 1;j <= 100;j++)
{
int e = rand() % 5;
if(e == 1 || e == 0 || e == 4)
cout << "* ";
else
cout << " ";
}
cout << endl;
}
}
void S1()
{
system("color E1");
Print();
Time();
system("cls");
}
void S2()
{
system("color 02");
Print();
Time();
system("cls");
}
void S3()
{
system("color D3");
Print();
Time();
system("cls");
}
void S4()
{
system("color B4");
Print();
Time();
system("cls");
}
void S5()
{
system("color 85");
Print();
Time();
system("cls");
}
void S6()
{
system("color 56");
Print();
Time();
system("cls");
}
void S7()
{
system("color 07");
Print();
Time();
system("cls");
}
void S8()
{
system("color F8");
Print();
Time();
system("cls");
}
void S9()
{
system("color 49");
Print();
Time();
system("cls");
}
void SA()
{
system("color FA");
Print();
Time();
system("cls");
}
void SB()
{
system("color 4B");
Print();
Time();
system("cls");
}
void SC()
{
system("color 3C");
Print();
Time();
system("cls");
}
void SD()
{
system("color 1D");
Print();
Time();
system("cls");
}
void SE()
{
system("color 1E");
Print();
Time();
system("cls");
}
int main()
{
srand(time(0));
while(true)
{
int x = rand() % 14;
if(x == 0) S1();
if(x == 1) S2();
if(x == 2) S3();
if(x == 3) S4();
if(x == 4) S5();
if(x == 5) S6();
if(x == 6) S7();
if(x == 7) S8();
if(x == 8) S9();
if(x == 9) SA();
if(x == 10) SB();
if(x == 11) SC();
if(x == 12) SD();
if(x == 13) SE();
}
return 0;
}剪贴板
剪贴板 4zunr2vo
剪贴板信息
剪贴板信息
- 收录
- 更新