0_0_17203186_4693.cpp:20:10: error: stray '#' in program
}#include<stdio.h>
^
0_0_17203186_4693.cpp:1:15: error: expected constructor, destructor, or type conversion before '(' token
memset(vis1,0,sizeof(vis1));
^
0_0_17203186_4693.cpp:2:15: error: expected constructor, destructor, or type conversion before '(' token
memset(vis2,0,sizeof(vis2));
^
0_0_17203186_4693.cpp:3:9: error: 'vis1' does not name a type
vis1[0]=1;//0是一定可以称出来的
^
0_0_17203186_4693.cpp:4:9: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++)
^
0_0_17203186_4693.cpp:4:21: error: 'i' does not name a type
for(int i=1;i<=n;i++)
^
0_0_17203186_4693.cpp:4:26: error: 'i' does not name a type
for(int i=1;i<=n;i++)
^
0_0_17203186_4693.cpp:20:11: error: 'include' does not name a type
}#include<stdio.h>
^
0_0_17203186_4693.cpp: In function 'int main()':
0_0_17203186_4693.cpp:32:18: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_17203186_4693.cpp:69:30: error: 'printf' was not declared in this scope
printf("NO\n");
^
0_0_17203186_4693.cpp:73:31: error: 'printf' was not declared in this scope
printf("YES\n");
^
|