Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:2:16: error: duplicate case value
 #define Q(A,B) case A:printf(B);break;
                ^
/in/foo.cc:14:9: note: in expansion of macro 'Q'
         Q(7,"0");
         ^
/in/foo.cc:2:16: error: previously used here
 #define Q(A,B) case A:printf(B);break;
                ^
/in/foo.cc:13:9: note: in expansion of macro 'Q'
         Q(7,"0");
         ^
/in/foo.cc:2:16: error: duplicate case value
 #define Q(A,B) case A:printf(B);break;
                ^
/in/foo.cc:15:9: note: in expansion of macro 'Q'
         Q(7,"5");
         ^
/in/foo.cc:2:16: error: previously used here
 #define Q(A,B) case A:printf(B);break;
                ^
/in/foo.cc:13:9: note: in expansion of macro 'Q'
         Q(7,"0");
         ^
/in/foo.cc:2:16: error: duplicate case value
 #define Q(A,B) case A:printf(B);break;
                ^
/in/foo.cc:16:9: note: in expansion of macro 'Q'
         Q(7,"0");
         ^
/in/foo.cc:2:16: error: previously used here
 #define Q(A,B) case A:printf(B);break;
                ^
/in/foo.cc:13:9: note: in expansion of macro 'Q'
         Q(7,"0");
         ^

信息

递交者
类型
递交
题目
P1101 你了解jacky_hu吗-2
语言
C++
递交时间
2024-04-25 13:26:48
评测时间
2024-04-25 13:26:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes