0_0_39897213_30487.c:3:1: error: unknown type name 'using'
3 | using namespace std;
| ^~~~~
0_0_39897213_30487.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
3 | using namespace std;
| ^~~
0_0_39897213_30487.c:5:1: error: unknown type name 'bool'
5 | bool G[MAXN][MAXN];//图的邻接矩阵
| ^~~~
0_0_39897213_30487.c:2:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
1 | #include <stdio.h>
+++ |+#include <stdbool.h>
2 | #define MAXN 110
0_0_39897213_30487.c:17:1: error: unknown type name 'bool'
17 | bool isValid(int u) {//u:需要判断的点;同时也表示当前的团已经判断过u-1个点了
| ^~~~
0_0_39897213_30487.c:17:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
0_0_39897213_30487.c: In function 'isValid':
0_0_39897213_30487.c:20:20: error: 'false' undeclared (first use in this function)
20 | return false;
| ^~~~~
0_0_39897213_30487.c:20:20: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
0_0_39897213_30487.c:20:20: note: each undeclared identifier is reported only once for each function it appears in
0_0_39897213_30487.c:23:12: error: 'true' undeclared (first use in this function)
23 | return true;
| ^~~~
0_0_39897213_30487.c:23:12: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
0_0_39897213_30487.c: In function 'backtrack':
0_0_39897213_30487.c:33:33: error: 'true' undeclared (first use in this function)
33 | current_clique[i] = true;
| ^~~~
0_0_39897213_30487.c:33:33: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
0_0_39897213_30487.c:39:33: error: 'false' undeclared (first use in this function)
39 | current_clique[i] = false;//当前点不加入约束
| ^~~~~
0_0_39897213_30487.c:39:33: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
0_0_39897213_30487.c: In function 'main':
0_0_39897213_30487.c:54:33: error: 'false' undeclared (first use in this function)
54 | current_clique[i] = false;
| ^~~~~
0_0_39897213_30487.c:54:33: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
|