0_0_17681614_24022.cpp: In function 'int main()':
0_0_17681614_24022.cpp:5:25: error: 'row' was not declared in this scope
while (scanf("%d %d", &row, &col) != EOF){
^
0_0_17681614_24022.cpp:5:31: error: 'col' was not declared in this scope
while (scanf("%d %d", &row, &col) != EOF){
^
0_0_17681614_24022.cpp:5:34: error: 'scanf' was not declared in this scope
while (scanf("%d %d", &row, &col) != EOF){
^
0_0_17681614_24022.cpp:5:39: error: 'EOF' was not declared in this scope
while (scanf("%d %d", &row, &col) != EOF){
^
0_0_17681614_24022.cpp:6:3: error: 'ans' was not declared in this scope
ans = -1;
^
0_0_17681614_24022.cpp:7:10: error: 'status' was not declared in this scope
memset(status, 0, sizeof(status));
^
0_0_17681614_24022.cpp:7:35: error: 'memset' was not declared in this scope
memset(status, 0, sizeof(status));
^
0_0_17681614_24022.cpp:9:16: error: 'graph' was not declared in this scope
scanf("%s", graph[i]);
^
0_0_17681614_24022.cpp:12:6: error: 'init' was not declared in this scope
init.x = j, init.y = i;
^
0_0_17681614_24022.cpp:17:7: error: 'init' was not declared in this scope
bfs(init);
^
0_0_17681614_24022.cpp:17:11: error: 'bfs' was not declared in this scope
bfs(init);
^
0_0_17681614_24022.cpp:18:21: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|