0_0_13809996_29761.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809996_29761.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809996_29761.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809996_29761.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809996_29761.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809996_29761.cpp: In function 'bool bfs()':
0_0_13809996_29761.cpp:22:2: error: 'queue' was not declared in this scope
queue Q;
^
0_0_13809996_29761.cpp:24:2: error: expected ';' before 'memset'
memset(vis, 0, sizeof(vis));
^
0_0_13809996_29761.cpp:24:28: error: 'memset' was not declared in this scope
memset(vis, 0, sizeof(vis));
^
0_0_13809996_29761.cpp:24:29: error: expected ')' before ';' token
memset(vis, 0, sizeof(vis));
^
0_0_13809996_29761.cpp:25:2: error: 'Q' was not declared in this scope
Q.push(s);
^
0_0_13809996_29761.cpp:34:14: error: expected ')' before 'd'
if (d[v] d[u] + 1) {
^
0_0_13809996_29761.cpp:46:30: error: 'memset' was not declared in this scope
memset(mark, 0, sizeof(mark));
^
0_0_13809996_29761.cpp: In function 'void dfs(int)':
0_0_13809996_29761.cpp:61:14: error: expected ')' before 'd'
if (d[v] d[s])
^
0_0_13809996_29761.cpp: In function 'int main()':
0_0_13809996_29761.cpp:70:30: error: 'scanf' was not declared in this scope
while (~scanf("%d%d", &n, &m)) {
^
0_0_13809996_29761.cpp:71:34: error: 'memset' was not declared in this scope
memset(first, -1, sizeof(first));
^
0_0_13809996_29761.cpp:80:20: error: 'printf' was not declared in this scope
printf("%d\n", n);
^
0_0_13809996_29761.cpp:89:21: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|