混乱代码

今天闲着写了一份混乱代码:

#include <iostream>
#include <string>
using namespace std;
#define _ 0x61
typedef string __;
#define ___ cout
#define ______ main
#define _______ int
#define _c char
#define ________ {
#define _________ } 
#define __________ return
#define ___________ (
#define ____________ )
_______ ______ ___________ ____________
________
	__ ____;
	____ += _-62;
	____ += -~-~-~-~-~-~-~-~_;  
	____ += -~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	____ += -~-~_;  
	____ += -~-~-~-~-~-~-~-~-~-~-~_;  
	____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	____ += -~-~-~_;  
	____ += -~-~-~-~_;  
	___ << ____<<" ";
	__ _____________;
	_____________ += _-37;
	_____________ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	_____________ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	_____________ += -~-~-~_;  
	_____________ += -~-~-~-~-~-~-~-~_;  
	_____________ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	_____________ += '.';
	_____________ += -~-~-~-~-~-~-~_;  
	_____________ += _-35;
	___ << _____________<<'\n';
	___ << (_c)0x69<<(_c)0x6E;___ << (_c)0x74<< (_c)0x20\
	 << (_c)0x6D << (_c)0x61 << (_c)0x69 << (_c)0x6E\
	 <<(_c)0x28<<(_c)0x29<<'\n';
	___ << (_c)0x7B <<'\n';
	___ << "  ";
	__ _____;     
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_;   
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_; 
	_____ += -~-~-~-~-~-~-~-~_;  
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_;  
	_____ += -~-~-~-~-~_;  
	_____ += _-57;  
	_____ += _____[6]-6;  
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_; 
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_; 
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_; 
	_____ += -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~_; 
	_____ += _____[7];    
	_____ += _____[6]+1;  
	_____ += _____[13]+18;
	___ << _____<<'\n'<<"  "; 
	___ << (_c)0x72 << (_c)0x65 << (_c)0x74 << (_c)0x75 << (_c)0x72 << (_c)0x6E << (_c)0x20<<"0;"<<'\n';
	___ << (_c)0x7D;
	__________ 0;
_________
运行结果如下:

#include <stdio.h>
int main()
{
  printf("xust");
  return 0;
}

注释:

混乱代码主要会用到一些#define 宏定义

然后就是需要了解下面几个公式:

1.  i++  = -~i;

2. arr[6] = 6[arr];


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值