#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include<stdlib.h>
#include<time.h>
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
while(1)
{
system("color 00");
system("color 10");
system("color 20");
system("color 30");
system("color 40");
system("color 50");
system("color 60");
system("color 70");
system("color 80");
system("color 90");
system("color A0");
system("color B0");
system("color C0");
system("color D0");
system("color E0");
system("color F0");
}
return 0;
}
各位运行一下(温馨提示:此程序伤眼程度较大,请勿久观)
尤博扬在2020-07-26 18:50:26追加了内容
#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include<stdlib.h>
#include<time.h>
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
while(1)
{
cout<<rand()<<endl;
system("color 01");
cout<<rand()<<endl;
system("color 12");
cout<<rand()<<endl;
system("color 20");
cout<<rand()<<endl;
system("color 33");
cout<<rand()<<endl;
system("color 45");
cout<<rand()<<endl;
system("color 5D");
cout<<rand()<<endl;
system("color 64");
cout<<rand()<<endl;
system("color 76");
cout<<rand()<<endl;
system("color 88");
cout<<rand()<<endl;
system("color 9A");
cout<<rand()<<endl;
system("color A9");
cout<<rand()<<endl;
system("color BC");
cout<<rand()<<endl;
system("color CB");
cout<<rand()<<endl;
system("color DF");
cout<<rand()<<endl;
system("color E7");
cout<<rand()<<endl;
system("color FE");
cout<<rand()<<endl;
system("cls");
}
return 0;
}
/* 0 = 黑色 8 = 灰色
1 = 蓝色 9 = 淡蓝色
2 = 绿色 A = 淡绿色
3 = 浅绿色 B = 淡浅绿色
4 = 红色 C = 淡红色
5 = 紫色 D = 淡紫色
6 = 黄色 E = 淡黄色
7 = 白色 F = 亮白色*/
更加恶心的程序
尤博扬在2020-07-26 18:58:30追加了内容
@高梓荣 谢谢,您的酷町豆已到账,你的rand让程序更恶心
#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include<stdlib.h>
#include<time.h>
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
while(1)
{
cout<<rand()<<endl;
system("color 01");
cout<<rand()<<endl;
system("color 12");
cout<<rand()<<endl;
system("color 20");
cout<<rand()<<endl;
system("color 33");
cout<<rand()<<endl;
system("color 45");
cout<<rand()<<endl;
system("color 5D");
cout<<rand()<<endl;
system("color 64");
cout<<rand()<<endl;
system("color 76");
cout<<rand()<<endl;
system("color 88");
cout<<rand()<<endl;
system("color 9A");
cout<<rand()<<endl;
system("color A9");
cout<<rand()<<endl;
system("color BC");
cout<<rand()<<endl;
system("color CB");
cout<<rand()<<endl;
system("color DF");
cout<<rand()<<endl;
system("color E7");
cout<<rand()<<endl;
system("color FE");
cout<<rand()<<endl;
system("cls");
}
return 0;
}
/* 0 = 黑色 8 = 灰色
1 = 蓝色 9 = 淡蓝色
2 = 绿色 A = 淡绿色
3 = 浅绿色 B = 淡浅绿色
4 = 红色 C = 淡红色
5 = 紫色 D = 淡紫色
6 = 黄色 E = 淡黄色
7 = 白色 F = 亮白色*/
更加恶心的程序
???
恶心吗?
没看出来
是我太笨了吗