0_0_17208431_31461.cpp:68:11: error: redefinition of 'const int M'
const int M=4000+5;
^
0_0_17208431_31461.cpp:9:11: note: 'const int M' previously defined here
const int M=4000+5;
^
0_0_17208431_31461.cpp:69:11: error: redefinition of 'const int E'
const int E=1000+5;
^
0_0_17208431_31461.cpp:10:11: note: 'const int E' previously defined here
const int E=1000+5;
^
0_0_17208431_31461.cpp:73:16: error: redefinition of 'struct tagNode'
typedef struct tagNode{
^
0_0_17208431_31461.cpp:14:16: error: previous definition of 'struct tagNode'
typedef struct tagNode{
^
0_0_17208431_31461.cpp:79:6: error: invalid type in declaration before ';' token
}Node;
^
0_0_17208431_31461.cpp:79:6: error: conflicting declaration 'typedef int Node'
0_0_17208431_31461.cpp:20:2: note: previous declaration as 'typedef struct tagNode Node'
}Node;
^
0_0_17208431_31461.cpp:81:5: error: redefinition of 'int n'
int n;
^
0_0_17208431_31461.cpp:22:5: note: 'int n' previously declared here
int n;
^
0_0_17208431_31461.cpp:82:4: error: redefinition of 'LL L'
LL L;
^
0_0_17208431_31461.cpp:23:4: note: 'LL L' previously declared here
LL L;
^
0_0_17208431_31461.cpp:84:11: error: redefinition of 'LL dp [4005][3]'
LL dp[M][3];
^
0_0_17208431_31461.cpp:25:4: note: 'LL dp [4005][3]' previously declared here
LL dp[M][3];
^
0_0_17208431_31461.cpp:86:13: error: redefinition of 'Node nodes [1005]'
Node nodes[E];
^
0_0_17208431_31461.cpp:27:6: note: 'Node nodes [1005]' previously declared here
Node nodes[E];
^
0_0_17208431_31461.cpp: In function 'int main()':
0_0_17208431_31461.cpp:95:5: error: redefinition of 'int main()'
int main()
^
0_0_17208431_31461.cpp:29:5: note: 'int main()' previously defined here
int main()
^
|