回答編集履歴

1

改善

2019/07/07 16:41

投稿

otn
otn

スコア84661

test CHANGED
@@ -12,13 +12,13 @@
12
12
 
13
13
 
14
14
 
15
- #define Debug(a,n) do{if(n){printf("%d",a);}}while(0)
15
+ #define Debug(a) do{if(DEBUG){printf("%d",a);}}while(0)
16
16
 
17
17
  int main() {
18
18
 
19
19
  int a = 3;
20
20
 
21
- Debug(a, DEBUG);
21
+ Debug(a);
22
22
 
23
23
  return 0;
24
24