0_0_39501037_23152.cpp:1:3: error: stray '#' in program
1 | 21#include<bits/stdc++.h>
| ^
0_0_39501037_23152.cpp:1:1: error: expected unqualified-id before numeric constant
1 | 21#include<bits/stdc++.h>
| ^~
0_0_39501037_23152.cpp: In function 'void wide_search(int, int, int, int)':
0_0_39501037_23152.cpp:22:9: error: 'priority_queue' was not declared in this scope
22 | priority_queue<hell> q;
| ^~~~~~~~~~~~~~
0_0_39501037_23152.cpp:22:28: error: expected primary-expression before '>' token
22 | priority_queue<hell> q;
| ^
0_0_39501037_23152.cpp:22:30: error: 'q' was not declared in this scope
22 | priority_queue<hell> q;
| ^
0_0_39501037_23152.cpp:25:9: error: 'memset' was not declared in this scope
25 | memset(visit,0,sizeof(visit));
| ^~~~~~
0_0_39501037_23152.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | 21#include<bits/stdc++.h>
0_0_39501037_23152.cpp:57:21: error: 'printf' was not declared in this scope
57 | if(ans==-1) printf("Poor ANGEL has to stay in the prison all his life.\n");
| ^~~~~~
0_0_39501037_23152.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | 21#include<bits/stdc++.h>
0_0_39501037_23152.cpp:58:14: error: 'printf' was not declared in this scope
58 | else printf("%d\n",ans);
| ^~~~~~
0_0_39501037_23152.cpp:58:14: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39501037_23152.cpp: In function 'int main()':
0_0_39501037_23152.cpp:63:15: error: 'scanf' was not declared in this scope
63 | while(scanf("%d%d",&n,&m)!=EOF)
| ^~~~~
0_0_39501037_23152.cpp:63:36: error: 'EOF' was not declared in this scope
63 | while(scanf("%d%d",&n,&m)!=EOF)
| ^~~
0_0_39501037_23152.cpp:63:36: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
|