0_0_13807018_26066.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13807018_26066.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13807018_26066.cpp: In function 'int dfs(int)':
0_0_13807018_26066.cpp:8:9: error: expected ';' before 'if'
if(edge[pos][i]&&!used[i]){
^
0_0_13807018_26066.cpp:8:9: error: expected primary-expression before 'if'
0_0_13807018_26066.cpp:8:9: error: expected ')' before 'if'
0_0_13807018_26066.cpp: In function 'int main()':
0_0_13807018_26066.cpp:20:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF){
^
0_0_13807018_26066.cpp:20:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF){
^
0_0_13807018_26066.cpp:24:35: error: 'memset' was not declared in this scope
memset(edge,0,sizeof(edge));
^
0_0_13807018_26066.cpp:32:13: error: expected ';' before 'memset'
memset(used,0,sizeof(used));
^
0_0_13807018_26066.cpp:32:40: error: expected ')' before ';' token
memset(used,0,sizeof(used));
^
0_0_13807018_26066.cpp:35:24: error: 'printf' was not declared in this scope
printf("%d\n",s);
^
0_0_13807018_26066.cpp: At global scope:
0_0_13807018_26066.cpp:37:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_13807018_26066.cpp:38:1: error: expected declaration before '}' token
}
^
|