变色滑稽图

#include <bits/stdc++.h>
#include <windows.h> 
#include <stdint.h>
#include <stdio.h>
using namespace std;
int main()
{
	for(int i=1;i<=1000000;i++)
	{
		for(int j=1;j<=1000000;j++)
		{
			static const uint32_t table[] = {
        
       			0x00000000, 0x00000000, 0x000FF000, 0x00300C00,
      			0x00C00300, 0x01000080, 0x02000040, 0x04000020,
        		0x08700E10, 0x098C3190, 0x127E4FC8, 0x118C3188,
        		0x20000004, 0x20000004, 0x20000004, 0x20000004,
        		0x24000024, 0x24000024, 0x24000024, 0x22000044,
        		0x12000048, 0x11000088, 0x09000090, 0x08800110,
        		0x04600620, 0x02181840, 0x0107E080, 0x00C00300,
        		0x00300C00, 0x000FF000, 0x00000000, 0x00000000,
    		};
    		for(int y = 0; y < 32; ++y) {
        
        		for(int x = 0; x < 64; ++x) {
            
            		putchar((table[y] & (1 << (x >> 1))) ? 'X' : ' ');
        		}
        		putchar('\n');
    		}
			cout<<"滑稽"<<endl;
			system("color 1A");
			Sleep(10);
			system("color 2B");
			Sleep(10);
			system("color 3C");
			Sleep(10);
			system("color 4D");
			Sleep(10); 
			system("color 5E");
			Sleep(10);
			system("color 6F");
			Sleep(10);
			system("cls"); 
		}
	 } 
	return 0;
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值