0
已解决
徐子宸
中级天翼
中级天翼
1000(AC代码):
#define qwertjfgdbcsjghjsdghbgnhgfgh int
#define djkjfnsJDTKNDKJHDKLgbjkBJHHJh main
#define GHVHBHJghjvhjKHVhjghGHJHRGFnjfDS using
#define NVNHFGFBGFGVGHFvghfVCSDASsaCHJKLHHFgFtTFhgf namespace
#define DFAEWFDVHGFgvhggFCxDCfdsDCgfsxdfwGJkdFDNHJTyd {
#define jgfHGHFbjfgvbdsedHKJfCVJG }
#define jbvhjgHJJGhvHHgcvhgfhgvhF cout
#define jhghHGHfdssdFSDFBGddHHGDgdgh ()
#define HFHVHJHhjfJKVghghGHFvghGHVHghvHF <<
#define sfdsafkjkjh ;
#define GHCVJHGFhvghfhklFDghxfdDGGFhd return
#define FHGJGHfHFghhGFGHBGvgbFHFhcghfCK 0
#define HGHBHJGHJvGHVjhfVHJhF "Hello, World!"
#include<iostream>
GHVHBHJghjvhjKHVhjghGHJHRGFnjfDS NVNHFGFBGFGVGHFvghfVCSDASsaCHJKLHHFgFtTFhgf std sfdsafkjkjh
qwertjfgdbcsjghjsdghbgnhgfgh djkjfnsJDTKNDKJHDKLgbjkBJHHJh jhghHGHfdssdFSDFBGddHHGDgdgh
DFAEWFDVHGFgvhggFCxDCfdsDCgfsxdfwGJkdFDNHJTyd
jbvhjgHJJGhvHHgcvhgfhgvhF HFHVHJHhjfJKVghghGHFvghGHVHghvHF HGHBHJGHJvGHVjhfVHJhF sfdsafkjkjh
GHCVJHGFhvghfhklFDghxfdDGGFhd FHGJGHfHFghhGFGHBGvgbFHFhcghfCK sfdsafkjkjh
jgfHGHFbjfgvbdsedHKJfCVJG
1110(AC代码):
#define JHGKJHGJKHGKJHG int
#define GHGWEFGELIUSHDOILIUUIOSUGBUIWERLWUGHSRGEDSGUFOIUY cout
#define DSLFQWEJHBCHWEQKJLRCJHWQEJKLRKSJDHFLKQJHEWLKJHJJQEQCEIU main
#define EFHLFUHQWLEIUHSLAKUWQULIUEQGBCALWEUFHAIQIUUI43JLQLL4IUYWUI3478WKS using
#define WEIUDGHJSLJ_DKSJHFGQEWYGIUGQEKDJHFGYQOIUDFHBCHUQIOWEIURBHU3QI78976nW_EF namespace
#define LISUEHFBHJEAKSHGQJKLI <<
#define SJFGOOIUEUiugyuIUUIOUGWUIG3478O7EWYGIEGJWGIQKGW cin
#define LKJH1213231JoW >>
#define IUWQEOUFCBFWEHUIOIRUHWQEIUYTKDJSHCXMZMXSBLKALFJ *
#define KEUIFWGQIUFHLWIUDHFLIQWEHNIFHIOUHIUH ()
#define IUWREHOIUWERHOIDHSJKLGKJHDLKGJHWQOIEUHGIOUWHHEOWIRUGYDOISUNHLUKL ,
#define IEUWSIDOUHFJAlrugewiusfiuwgeuiugeilaiuLIFUEIUHFEBCHUOOQIYFGUEIL ;
#define EWIQUYOIUWEQHRIUWEKJHKHFIQUIUQWFEHBC87DLQIWU233 return
#define LKJEQHFQWE 0
#define LKERWJHGLKJERWHGIUOUQEHRGUIOQREJDSGKJHLKQR {
#define IEURFHOIUWEQBIVJHCBEWFJKHF }
#include<iostream>
EFHLFUHQWLEIUHSLAKUWQULIUEQGBCALWEUFHAIQIUUI43JLQLL4IUYWUI3478WKS WEIUDGHJSLJ_DKSJHFGQEWYGIUGQEKDJHFGYQOIUDFHBCHUQIOWEIURBHU3QI78976nW_EF std IEUWSIDOUHFJAlrugewiusfiuwgeuiugeilaiuLIFUEIUHFEBCHUOOQIYFGUEIL
JHGKJHGJKHGKJHG DSLFQWEJHBCHWEQKJLRCJHWQEJKLRKSJDHFLKQJHEWLKJHJJQEQCEIU KEUIFWGQIUFHLWIUDHFLIQWEHNIFHIOUHIUH
LKERWJHGLKJERWHGIUOUQEHRGUIOQREJDSGKJHLKQR
JHGKJHGJKHGKJHG A IUWREHOIUWERHOIDHSJKLGKJHDLKGJHWQOIEUHGIOUWHHEOWIRUGYDOISUNHLUKL B IEUWSIDOUHFJAlrugewiusfiuwgeuiugeilaiuLIFUEIUHFEBCHUOOQIYFGUEIL
SJFGOOIUEUiugyuIUUIOUGWUIG3478O7EWYGIEGJWGIQKGW LKJH1213231JoW A LKJH1213231JoW B IEUWSIDOUHFJAlrugewiusfiuwgeuiugeilaiuLIFUEIUHFEBCHUOOQIYFGUEIL
GHGWEFGELIUSHDOILIUUIOSUGBUIWERLWUGHSRGEDSGUFOIUY LISUEHFBHJEAKSHGQJKLI A IUWQEOUFCBFWEHUIOIRUHWQEIUYTKDJSHCXMZMXSBLKALFJ B;
EWIQUYOIUWEQHRIUWEKJHKHFIQUIUQWFEHBC87DLQIWU233 LKJEQHFQWE IEUWSIDOUHFJAlrugewiusfiuwgeuiugeilaiuLIFUEIUHFEBCHUOOQIYFGUEIL
IEURFHOIUWEQBIVJHCBEWFJKHF
这些都是什么鬼?怎么还AC了?
徐子宸在2020-06-13 18:32:37追加了内容
你们都是怎么写出来的?
徐子宸在2020-06-13 18:49:52追加了内容
打出“define”帮我结贴
1
0
董子墨
中级天翼
中级天翼
这是一道奇怪的高级数据结构的贴
里面包含2个整段代码
我不举报就怪了
董子墨在2020-06-13 18:29:43追加了内容
我也写了一个:
董子墨在2020-06-15 19:38:26追加了内容
define
0
0
0
李泽远
高级天翼
高级天翼
一个雕虫小技而已,不必太过重视。
#define a b
将程序中一遇到a,就替换成b,可以是字符串,也可以是数字,
不过这两个都是常量,不能改变;
例子:
#include<iostream>
#define pi 3.14
using namespace std;
int main(){
cout<<pi;
return 0;
}
李泽远在2020-06-13 18:31:25追加了内容
运行结果:
输出3.14
李泽远在2020-06-13 18:54:06追加了内容
define
0
王子逸
新手天翼
新手天翼
你还没学过 其实 在头文件的位置也可以定义 也可以判断 这属于以后的了 但较为复杂 所以老师没有教你....
你可以自学 其实是很简单的 只不过你的手会很累
王子逸在2020-06-13 18:50:01追加了内容
我建议你不要用 因为有一些c++老版本不支持这种编程方式...
王子逸在2020-06-14 12:11:52追加了内容
define
采纳我
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0