0_0_13810827_19492.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp:8:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13810827_19492.cpp: In function 'void cmp()':
0_0_13810827_19492.cpp:28:5: error: expected ')' before 'if'
if(anstoptop)
^
0_0_13810827_19492.cpp:33:17: error: 'i' was not declared in this scope
for(int i=0;i
^
0_0_13810827_19492.cpp: At global scope:
0_0_13810827_19492.cpp:44:1: error: 'queue' does not name a type
queue Q;
^
0_0_13810827_19492.cpp: In function 'bool bfs(int, int)':
0_0_13810827_19492.cpp:49:12: error: 'Q' was not declared in this scope
while(!Q.empty()) Q.pop();
^
0_0_13810827_19492.cpp:50:29: error: 'memset' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_13810827_19492.cpp:52:5: error: 'Q' was not declared in this scope
Q.push(0);
^
0_0_13810827_19492.cpp:69:17: error: expected ';' before 'else'
else cmp();
^
0_0_13810827_19492.cpp:69:17: error: expected primary-expression before 'else'
0_0_13810827_19492.cpp:69:17: error: expected ')' before 'else'
0_0_13810827_19492.cpp:69:17: error: expected primary-expression before 'else'
0_0_13810827_19492.cpp:87:17: error: expected ';' before 'else'
else cmp();
^
0_0_13810827_19492.cpp:87:17: error: expected primary-expression before 'else'
0_0_13810827_19492.cpp:87:17: error: expected ')' before 'else'
0_0_13810827_19492.cpp:87:17: error: expected primary-expression before 'else'
0_0_13810827_19492.cpp:97:1: error: a function-definition is not allowed here before '{' token
{
^
0_0_13810827_19492.cpp:120:1: error: expected '}' at end of input
}
^
0_0_13810827_19492.cpp:120:1: error: expected '}' at end of input
|