0_0_38439553_24528.cpp:164:2: error: stray '#' in program
}#include<iostream>
^
0_0_38439553_24528.cpp:164:3: error: 'include' does not name a type
}#include<iostream>
^
0_0_38439553_24528.cpp:170:11: error: redefinition of 'const int maxc'
const int maxc=55;
^
0_0_38439553_24528.cpp:7:11: note: 'const int maxc' previously defined here
const int maxc=55;
^
0_0_38439553_24528.cpp:171:11: error: redefinition of 'const int maxn'
const int maxn=3000;
^
0_0_38439553_24528.cpp:8:11: note: 'const int maxn' previously defined here
const int maxn=3000;
^
0_0_38439553_24528.cpp:173:11: error: redefinition of 'int U [3000]'
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:10:5: note: 'int U [3000]' previously declared here
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:173:19: error: redefinition of 'int D [3000]'
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:10:13: note: 'int D [3000]' previously declared here
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:173:27: error: redefinition of 'int L [3000]'
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:10:21: note: 'int L [3000]' previously declared here
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:173:35: error: redefinition of 'int R [3000]'
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:10:29: note: 'int R [3000]' previously declared here
int U[maxn],D[maxn],L[maxn],R[maxn];
^
0_0_38439553_24528.cpp:174:13: error: redefinition of 'int col [55]'
int col[maxc];
^
0_0_38439553_24528.cpp:11:5: note: 'int col [55]' previously declared here
int col[maxc];
^
0_0_38439553_24528.cpp:175:11: error: redefinition of 'int S [55]'
int S[maxc];
^
0_0_38439553_24528.cpp:12:5: note: 'int S [55]' previously declared here
int S[maxc];
^
0_0_38439553_24528.cpp:176:14: error: redefinition of 'bool vis [55]'
bool vis[maxc];
^
0_0_38439553_24528.cpp:13:6: note: 'bool vis [55]' previously declared here
bool vis[maxc];
^
0_0_38439553_24528.cpp:177:18: error: redefinition of 'int rowfirst [55]'
int rowfirst[maxr];
^
0_0_38439553_24528.cpp:14:5: note: 'int rowfirst [55]' previously declared here
int rowfirst[maxr];
^
0_0_38439553_24528.cpp:179:5: error: redefinition of 'int sz'
int sz,n;
^
0_0_38439553_24528.cpp:16:5: note: 'int sz' previously declared here
int sz,n;
^
0_0_38439553_24528.cpp:179:8: error: redefinition of 'int n'
int sz,n;
^
0_0_38439553_24528.cpp:16:8: note: 'int n' previously declared here
int sz,n;
^
0_0_38439553_24528.cpp: In function 'void init(int, int)':
0_0_38439553_24528.cpp:181:6: error: redefinition of 'void init(int, int)'
void init(int row,int col){
^
0_0_38439553_24528.cpp:18:6: note: 'void init(int, int)' previously defined here
void init(int row,int col){
^
0_0_38439553_24528.cpp: In function 'void addNode(int, int)':
0_0_38439553_24528.cpp:194:6: error: redefinition of 'void addNode(int, int)'
void addNode(int r,int c){
^
0_0_38439553_24528.cpp:31:6: note: 'void addNode(int, int)' previously defined here
void addNode(int r,int c){
^
0_0_38439553_24528.cpp: In function 'void remove(int)':
0_0_38439553_24528.cpp:210:6: error: redefinition of 'void remove(int)'
void remove(int c){
^
0_0_38439553_24528.cpp:47:6: note: 'void remove(int)' previously defined here
void remove(int c){
^
0_0_38439553_24528.cpp: In function 'void resume(int)':
0_0_38439553_24528.cpp:221:6: error: redefinition of 'void resume(int)'
void resume(int c){
^
0_0_38439553_24528.cpp:58:6: note: 'void resume(int)' previously defined here
void resume(int c){
^
0_0_38439553_24528.cpp: In function 'int aStar()':
0_0_38439553_24528.cpp:232:5: error: redefinition of 'int aStar()'
int aStar(){
^
0_0_38439553_24528.cpp:69:5: note: 'int aStar()' previously defined here
int aStar(){
^
0_0_38439553_24528.cpp: At global scope:
0_0_38439553_24528.cpp:248:5: error: redefinition of 'int ansd'
int ansd;
^
0_0_38439553_24528.cpp:85:5: note: 'int ansd' previously declared here
int ansd;
^
0_0_38439553_24528.cpp: In function 'void dfs(int)':
0_0_38439553_24528.cpp:249:6: error: redefinition of 'void dfs(int)'
void dfs(int floor){
^
0_0_38439553_24528.cpp:86:6: note: 'void dfs(int)' previously defined here
void dfs(int floor){
^
0_0_38439553_24528.cpp: At global scope:
0_0_38439553_24528.cpp:281:8: error: redefinition of 'struct node'
struct node{
^
0_0_38439553_24528.cpp:118:8: error: previous definition of 'struct node'
struct node{
^
0_0_38439553_24528.cpp: In function 'double dist(node, node)':
0_0_38439553_24528.cpp:285:8: error: redefinition of 'double dist(node, node)'
double dist(node a,node b){
^
0_0_38439553_24528.cpp:122:8: note: 'double dist(node, node)' previously defined here
double dist(node a,node b){
^
0_0_38439553_24528.cpp: At global scope:
0_0_38439553_24528.cpp:288:13: error: redefinition of 'node city [55]'
node city[55],radar[55];
^
0_0_38439553_24528.cpp:125:6: note: 'node city [55]' previously declared here
node city[55],radar[55];
^
0_0_38439553_24528.cpp:288:23: error: redefinition of 'node radar [55]'
node city[55],radar[55];
^
0_0_38439553_24528.cpp:125:15: note: 'node radar [55]' previously declared here
node city[55],radar[55];
^
0_0_38439553_24528.cpp:290:8: error: redefinition of 'double eps'
double eps=1e-8;
^
0_0_38439553_24528.cpp:127:8: note: 'double eps' previously defined here
double eps=1e-8;
^
0_0_38439553_24528.cpp: In function 'int main()':
0_0_38439553_24528.cpp:292:5: error: redefinition of 'int main()'
int main(){
^
0_0_38439553_24528.cpp:129:5: note: 'int main()' previously defined here
int main(){
^
|