这样做可以吗

P1001 A+B Problem

__zhang__ @ 2023-07-13 12:46:30

这样做可以吗

#include<bits/stdc++.h>
using namespace std;
#define Hello int
#define Itis cin
#define thanks cout
#define is =
#define with +
int main() {
    Hello luogu;
    Hello zhanglingke;
    Hello tianqitanke;
    Itis>> luogu;
    Itis>> zhanglingke;
    tianqitanke is luogu with zhanglingke;
    thanks<<tianqitanke;
}

by LiJinLin_AFO @ 2023-07-13 13:01:27

加上:

#define I return
#define AK 
#define IOI 0

程序末尾加上:

I AK IOI;

by coolcoder @ 2023-07-13 13:03:17

显然可以

理论上,你甚至可以通过define把C++变成python或者任何其它语言


by sunpengyu @ 2023-07-13 17:21:51

哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈


by HatsuneMiku39 @ 2023-07-13 19:14:10

《大型反作弊现场》《猎奇代码欣赏》《文采代码交流会》


by HatsuneMiku39 @ 2023-07-13 19:22:16

@zhanglingke 这样呢

//原神启动!
//帝君保佑,永不TLE!
//将军保佑,永不MLE!
//草王保佑,永不RE!
//风神保佑,永不CE!
//WMH保佑我,永不WA!
#define Woshi_ShenliLinghua_degou <bits/stdc++.h>
#define Yuan_Shen int
#define Yuan_shen cin
#define yuan_shen cout
#define Qidong main
#define Zhongli_yyds ios::sync_with_stdio(0)
#define Woai_Hutangzhu cin.tie(0)
#define MHY_NihuanwoGuizhong cout.tie(0) 
#define Dadao using 
#define YuanShen namespace
#define Heifen std             
#define Yongyuan return 
#define Zhichi 
#define Yuanshen 0 
#include Woshi_ShenliLinghua_degou   
Dadao YuanShen Heifen;
Yuan_Shen Qidong(){
    Zhongli_yyds;
    Woai_Hutangzhu;
    MHY_NihuanwoGuizhong;
    Yuan_Shen Qi,Dong;
    Yuan_shen>>Qi>>Dong;
    yuan_shen<<Qi+Dong;
    Yongyuan Zhichi Yuanshen;
}

by __zhang__ @ 2023-07-13 19:23:35

@HatsuneMiku39 6啊


by __zhang__ @ 2023-07-13 21:31:14

@HatsuneMiku39

你去看一下我的个人中心就知道我怎么写的了

不知道为什么发不出来


by __zhang__ @ 2023-07-13 21:32:14

@2022LiJinLin

你去我个人中心看看我的代码

不知道为什么发不出来


by HatsuneMiku39 @ 2023-07-14 07:28:06

@zhanglingke hhh


by CznTree @ 2023-07-14 20:00:08

@HatsuneMiku39 建议c++20 直接用中文。


| 下一页