/in/foo.cc:80:11: error: redefinition of 'const int N'
const int N = 300+5, M = 10000+5;
^
/in/foo.cc:9:11: note: 'const int N' previously defined here
const int N = 300+5, M = 10000+5;
^
/in/foo.cc:80:22: error: redefinition of 'const int M'
const int N = 300+5, M = 10000+5;
^
/in/foo.cc:9:22: note: 'const int M' previously defined here
const int N = 300+5, M = 10000+5;
^
/in/foo.cc:84:8: error: redefinition of 'struct tCity'
struct tCity{
^~~~~
/in/foo.cc:13:8: error: previous definition of 'struct tCity'
struct tCity{
^~~~~
/in/foo.cc:86:7: error: conflicting declaration 'int e [20010]'
}e[M*2];
^
/in/foo.cc:15:2: note: previous declaration as 'tCity e [20010]'
}e[M*2];
^
/in/foo.cc:88:11: error: redefinition of 'int head [305]'
int head[N],tot,f[N],ans,dis[N];
^
/in/foo.cc:17:5: note: 'int head [305]' previously declared here
int head[N],tot,f[N],ans,dis[N];
^~~~
/in/foo.cc:88:13: error: redefinition of 'int tot'
int head[N],tot,f[N],ans,dis[N];
^~~
/in/foo.cc:17:13: note: 'int tot' previously declared here
int head[N],tot,f[N],ans,dis[N];
^~~
/in/foo.cc:88:20: error: redefinition of 'int f [305]'
int head[N],tot,f[N],ans,dis[N];
^
/in/foo.cc:17:17: note: 'int f [305]' previously declared here
int head[N],tot,f[N],ans,dis[N];
^
/in/foo.cc:88:22: error: redefinition of 'int ans'
int head[N],tot,f[N],ans,dis[N];
^~~
/in/foo.cc:17:22: note: 'int ans' previously declared here
int head[N],tot,f[N],ans,dis[N];
^~~
/in/foo.cc:88:31: error: redefinition of 'int dis [305]'
int head[N],tot,f[N],ans,dis[N];
^
/in/foo.cc:17:26: note: 'int dis [305]' previously declared here
int head[N],tot,f[N],ans,dis[N];
^~~
/in/foo.cc: In function 'void Add(int, int, int)':
/in/foo.cc:90:6: error: redefinition of 'void Add(int, int, int)'
void Add(int from,int to,int v)
^~~
/in/foo.cc:19:6: note: 'void Add(int, int, int)' previously defined here
void Add(int from,int to,int v)
^~~
/in/foo.cc: In function 'void Prim(int)':
/in/foo.cc:99:6: error: redefinition of 'void Prim(int)'
void Prim(int n)
^~~~
/in/foo.cc:28:6: note: 'void Prim(int)' previously defined here
void Prim(int n)
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:130:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:59:5: note: 'int main()' previously defined here
int main()
^~~~