0_0_33083201_18255.c:5:1: error: unknown type name 'bool'
bool link[N][N];
^
0_0_33083201_18255.c:5:6: error: variably modified 'link' at file scope
bool link[N][N];
^
0_0_33083201_18255.c:5:6: error: variably modified 'link' at file scope
0_0_33083201_18255.c:6:1: error: unknown type name 'bool'
bool flag[N];
^
0_0_33083201_18255.c:6:6: error: variably modified 'flag' at file scope
bool flag[N];
^
0_0_33083201_18255.c:7:5: error: variably modified 'match' at file scope
int match[N]; //存左边第N个点与右边match[N]匹配的
^
0_0_33083201_18255.c:7:15: error: expected identifier or '(' before '/' token
int match[N]; //存左边第N个点与右边match[N]匹配的
^
0_0_33083201_18255.c:7:15: error: stray '\264' in program
0_0_33083201_18255.c:7:15: error: stray '\346' in program
0_0_33083201_18255.c:7:15: error: stray '\327' in program
0_0_33083201_18255.c:7:15: error: stray '\363' in program
0_0_33083201_18255.c:7:15: error: stray '\261' in program
0_0_33083201_18255.c:7:15: error: stray '\337' in program
0_0_33083201_18255.c:7:15: error: stray '\265' in program
0_0_33083201_18255.c:7:15: error: stray '\332' in program
0_0_33083201_18255.c:7:15: error: stray '\270' in program
0_0_33083201_18255.c:7:15: error: stray '\366' in program
0_0_33083201_18255.c:7:15: error: stray '\265' in program
0_0_33083201_18255.c:7:15: error: stray '\343' in program
0_0_33083201_18255.c:7:15: error: stray '\323' in program
0_0_33083201_18255.c:7:15: error: stray '\353' in program
0_0_33083201_18255.c:7:15: error: stray '\323' in program
0_0_33083201_18255.c:7:15: error: stray '\322' in program
0_0_33083201_18255.c:7:15: error: stray '\261' in program
0_0_33083201_18255.c:7:15: error: stray '\337' in program
0_0_33083201_18255.c:7:15: error: stray '\306' in program
0_0_33083201_18255.c:7:15: error: stray '\245' in program
0_0_33083201_18255.c:7:15: error: stray '\305' in program
0_0_33083201_18255.c:7:15: error: stray '\344' in program
0_0_33083201_18255.c:7:15: error: stray '\265' in program
0_0_33083201_18255.c:7:15: error: stray '\304' in program
0_0_33083201_18255.c:9:1: error: unknown type name 'bool'
bool find(int x){
^
0_0_33083201_18255.c: In function 'find':
0_0_33083201_18255.c:10:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++){
^
0_0_33083201_18255.c:10:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33083201_18255.c:10:17: error: 'n' undeclared (first use in this function)
for(int i=1;i<=n;i++){
^
0_0_33083201_18255.c:10:17: note: each undeclared identifier is reported only once for each function it appears in
0_0_33083201_18255.c:12:12: error: 'true' undeclared (first use in this function)
flag[i]=true;
^
0_0_33083201_18255.c:19:9: error: 'false' undeclared (first use in this function)
return false;
^
0_0_33083201_18255.c: In function 'main':
0_0_33083201_18255.c:24:14: error: 's' undeclared (first use in this function)
scanf("%d",&s);
^
0_0_33083201_18255.c:28:17: error: 'n' undeclared (first use in this function)
scanf("%d%d",&n,&m);
^
0_0_33083201_18255.c:28:20: error: 'm' undeclared (first use in this function)
scanf("%d%d",&n,&m);
^
0_0_33083201_18255.c:29:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<m;i++){
^
0_0_33083201_18255.c:32:15: error: 'true' undeclared (first use in this function)
link[a][b]=true;
^
0_0_33083201_18255.c:35:11: error: redefinition of 'i'
for(int i=1;i<=n;i++){
^
0_0_33083201_18255.c:29:11: note: previous definition of 'i' was here
for(int i=0;i<m;i++){
^
0_0_33083201_18255.c:35:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++){
^
0_0_33083201_18255.c:36:16: error: 'false' undeclared (first use in this function)
memset(flag,false,sizeof flag);
^
|