/in/foo.cc:172:11: error: redefinition of 'const int MAXN'
const int MAXN=100005;
^~~~
/in/foo.cc:32:11: note: 'const int MAXN' previously defined here
const int MAXN=100005;
^~~~
/in/foo.cc:173:11: error: redefinition of 'const int INF'
const int INF=(1<<30)-1;
^~~
/in/foo.cc:33:11: note: 'const int INF' previously defined here
const int INF=(1<<30)-1;
^~~
/in/foo.cc:174:8: error: redefinition of 'struct Edge'
struct Edge
^~~~
/in/foo.cc:34:8: error: previous definition of 'struct Edge'
struct Edge
^~~~
/in/foo.cc:177:11: error: conflicting declaration 'int e [200010]'
}e[MAXN<<1];
^
/in/foo.cc:37:2: note: previous declaration as 'Edge e [200010]'
}e[MAXN<<1];
^
/in/foo.cc:178:15: error: redefinition of 'int fisrt [100005]'
int fisrt[MAXN];//Edge
^
/in/foo.cc:38:5: note: 'int fisrt [100005]' previously declared here
int fisrt[MAXN];//Edge
^~~~~
/in/foo.cc:179:8: error: redefinition of 'struct node'
struct node
^~~~
/in/foo.cc:39:8: error: previous definition of 'struct node'
struct node
^~~~
/in/foo.cc:186:10: error: conflicting declaration 'int sco [100005]'
}sco[MAXN];
^
/in/foo.cc:46:2: note: previous declaration as 'node sco [100005]'
}sco[MAXN];
^~~
/in/foo.cc:187:5: error: redefinition of 'int n'
int n,m,tot;
^
/in/foo.cc:47:5: note: 'int n' previously declared here
int n,m,tot;
^
/in/foo.cc:187:7: error: redefinition of 'int m'
int n,m,tot;
^
/in/foo.cc:47:7: note: 'int m' previously declared here
int n,m,tot;
^
/in/foo.cc:187:9: error: redefinition of 'int tot'
int n,m,tot;
^~~
/in/foo.cc:47:9: note: 'int tot' previously declared here
int n,m,tot;
^~~
/in/foo.cc:188:17: error: redefinition of 'std::map<std::__cxx11::basic_string<char>, int> Hash'
map<string,int> Hash;
^~~~
/in/foo.cc:48:17: note: 'std::map<std::__cxx11::basic_string<char>, int> Hash' previously declared here
map<string,int> Hash;
^~~~
/in/foo.cc:189:11: error: redefinition of 'int d [100005]'
int d[MAXN],in[MAXN];//SPFA
^
/in/foo.cc:49:5: note: 'int d [100005]' previously declared here
int d[MAXN],in[MAXN];//SPFA
^
/in/foo.cc:189:20: error: redefinition of 'int in [100005]'
int d[MAXN],in[MAXN];//SPFA
^
/in/foo.cc:49:13: note: 'int in [100005]' previously declared here
int d[MAXN],in[MAXN];//SPFA
^~
/in/foo.cc:190:15: error: redefinition of 'std::__cxx11::string ip [100005]'
string ip[MAXN];
^
/in/foo.cc:50:8: note: 'std::__cxx11::string ip [100005]' previously declared here
string ip[MAXN];
^~
/in/foo.cc:191:11: error: redefinition of 'int w [100005]'
int w[MAXN];
^
/in/foo.cc:51:5: note: 'int w [100005]' previously declared here
int w[MAXN];
^
/in/foo.cc: In function 'void Add_Edge(int, int, int)':
/in/foo.cc:193:13: error: redefinition of 'void Add_Edge(int, int, int)'
inline void Add_Edge(int x,int y,int w)
^~~~~~~~
/in/foo.cc:53:13: note: 'void Add_Edge(int, int, int)' previously defined here
inline void Add_Edge(int x,int y,int w)
^~~~~~~~
/in/foo.cc: In function 'void init()':
/in/foo.cc:199:6: error: redefinition of 'void init()'
void init()
^~~~
/in/foo.cc:59:6: note: 'void init()' previously defined here
void init()
^~~~
/in/foo.cc: In function 'int SPFA(int)':
/in/foo.cc:227:5: error: redefinition of 'int SPFA(int)'
int SPFA(int s)
^~~~
/in/foo.cc:87:5: note: 'int SPFA(int)' previously defined here
int SPFA(int s)
^~~~
/in/foo.cc: In function 'void out()':
/in/foo.cc:259:6: error: redefinition of 'void out()'
void out()
^~~
/in/foo.cc:119:6: note: 'void out()' previously defined here
void out()
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:268:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:128:5: note: 'int main()' previously defined here
int main()
^~~~