0_0_16717576_3136.cpp:115:5: error: redefinition of 'int n'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:5: note: 'int n' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:115:7: error: redefinition of 'int m'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:7: note: 'int m' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:115:9: error: redefinition of 'int t'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:9: note: 'int t' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:115:22: error: redefinition of 'int mp [205][205]'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:11: note: 'int mp [205][205]' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:115:40: error: redefinition of 'int dis [20][205][205]'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:24: note: 'int dis [20][205][205]' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:115:53: error: redefinition of 'int dp [20][16384]'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:42: note: 'int dp [20][16384]' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:115:60: error: redefinition of 'int dd [20]'
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:11:55: note: 'int dd [20]' previously declared here
int n,m,t,mp[205][205],dis[20][205][205],dp[20][maxn],dd[20];
^
0_0_16717576_3136.cpp:116:18: error: redefinition of 'bool vis [205][205]'
bool vis[205][205];
^
0_0_16717576_3136.cpp:12:6: note: 'bool vis [205][205]' previously declared here
bool vis[205][205];
^
0_0_16717576_3136.cpp:117:9: error: redefinition of 'int mx [4]'
int mx[4]={0,0,1,-1};
^
0_0_16717576_3136.cpp:13:5: note: 'int mx [4]' previously defined here
int mx[4]={0,0,1,-1};
^
0_0_16717576_3136.cpp:118:9: error: redefinition of 'int my [4]'
int my[4]={1,-1,0,0};
^
0_0_16717576_3136.cpp:14:5: note: 'int my [4]' previously defined here
int my[4]={1,-1,0,0};
^
0_0_16717576_3136.cpp:119:8: error: redefinition of 'struct node'
struct node{
^
0_0_16717576_3136.cpp:15:8: error: previous definition of 'struct node'
struct node{
^
0_0_16717576_3136.cpp:121:9: error: invalid type in declaration before ';' token
}tre[20];
^
0_0_16717576_3136.cpp:121:9: error: conflicting declaration 'int tre [20]'
0_0_16717576_3136.cpp:17:2: note: previous declaration as 'node tre [20]'
}tre[20];
^
0_0_16717576_3136.cpp: In function 'void init()':
0_0_16717576_3136.cpp:122:6: error: redefinition of 'void init()'
void init(){
^
0_0_16717576_3136.cpp:18:6: note: 'void init()' previously defined here
void init(){
^
0_0_16717576_3136.cpp: In function 'void spfa()':
0_0_16717576_3136.cpp:128:6: error: redefinition of 'void spfa()'
void spfa(){
^
0_0_16717576_3136.cpp:24:6: note: 'void spfa()' previously defined here
void spfa(){
^
0_0_16717576_3136.cpp: In function 'int main()':
0_0_16717576_3136.cpp:158:5: error: redefinition of 'int main()'
int main(){
^
0_0_16717576_3136.cpp:54:5: note: 'int main()' previously defined here
int main(){
^
|