问题标题: 酷町堂:一个有趣的程序

0
0
已解决
尤博扬
尤博扬
初级光能
初级光能

#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让程序更恶心


0
已采纳
刘英杰
刘英杰
新手天翼
新手天翼

你这就叫“真·刷屏”(我没敢试,怕光敏性癫痫)

0
高梓荣
高梓荣
新手天翼
新手天翼

我就喜欢久观

喜欢绿色

0
0
陈曦
陈曦
资深天翼
资深天翼

它会让运行框不停的更换颜色吗?

0
包涵宇
包涵宇
中级天翼
中级天翼

啊啊啊!

还是不如我的蓝配绿。。。

0
李锦昊
李锦昊
中级天翼
中级天翼

#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 = 亮白色*/ 
更加恶心的程序

???

恶心吗?

没看出来

是我太笨了吗

0
0
胡家翊
胡家翊
高级守护
高级守护

镭射眼表示无所畏惧[doge]

0
0
0
我要回答