0_0_4531610_4986.cpp:163: error: redefinition of `struct CNode'
0_0_4531610_4986.cpp:13: error: previous definition of `struct CNode'
0_0_4531610_4986.cpp:168: error: ISO C++ forbids declaration of `CNode' with no type
0_0_4531610_4986.cpp:168: error: conflicting declaration 'typedef int CNode'
0_0_4531610_4986.cpp:18: error: 'CNode' has a previous declaration as `typedef struct CNode CNode'
0_0_4531610_4986.cpp:168: error: declaration of `typedef int CNode'
0_0_4531610_4986.cpp:18: error: conflicts with previous declaration `typedef struct CNode CNode'
0_0_4531610_4986.cpp:168: error: declaration of `typedef int CNode'
0_0_4531610_4986.cpp:18: error: conflicts with previous declaration `typedef struct CNode CNode'
0_0_4531610_4986.cpp:173: error: conflicting declaration 'typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:23: error: 'Rectangle' has a previous declaration as `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:173: error: declaration of `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:23: error: conflicts with previous declaration `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:173: error: declaration of `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:23: error: conflicts with previous declaration `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:173: error: declaration of `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:23: error: conflicts with previous declaration `typedef struct Rectangle Rectangle'
0_0_4531610_4986.cpp:180: error: conflicting declaration 'typedef struct Line Line'
0_0_4531610_4986.cpp:30: error: 'Line' has a previous declaration as `typedef struct Line Line'
0_0_4531610_4986.cpp:180: error: declaration of `typedef struct Line Line'
0_0_4531610_4986.cpp:30: error: conflicts with previous declaration `typedef struct Line Line'
0_0_4531610_4986.cpp:180: error: declaration of `typedef struct Line Line'
0_0_4531610_4986.cpp:30: error: conflicts with previous declaration `typedef struct Line Line'
0_0_4531610_4986.cpp:180: error: declaration of `typedef struct Line Line'
0_0_4531610_4986.cpp:30: error: conflicts with previous declaration `typedef struct Line Line'
0_0_4531610_4986.cpp:182: error: redefinition of `const int MAXN'
0_0_4531610_4986.cpp:32: error: `const int MAXN' previously defined here
0_0_4531610_4986.cpp:183: error: redefinition of `const int MAX_NODE'
0_0_4531610_4986.cpp:33: error: `const int MAX_NODE' previously defined here
0_0_4531610_4986.cpp:185: error: redefinition of `Rectangle rec[205]'
0_0_4531610_4986.cpp:35: error: `Rectangle rec[205]' previously declared here
0_0_4531610_4986.cpp:186: error: redefinition of `CNode Tree[820]'
0_0_4531610_4986.cpp:36: error: `CNode Tree[820]' previously declared here
0_0_4531610_4986.cpp:187: error: redefinition of `Line lines[410]'
0_0_4531610_4986.cpp:37: error: `Line lines[410]' previously declared here
0_0_4531610_4986.cpp:189: error: redefinition of `double ys[410]'
0_0_4531610_4986.cpp:39: error: `double ys[410]' previously declared here
0_0_4531610_4986.cpp:189: error: redefinition of `double ans'
0_0_4531610_4986.cpp:39: error: `double ans' previously declared here
0_0_4531610_4986.cpp:190: error: redefinition of `int N'
0_0_4531610_4986.cpp:40: error: `int N' previously declared here
0_0_4531610_4986.cpp:190: error: redefinition of `int N2'
0_0_4531610_4986.cpp:40: error: `int N2' previously declared here
0_0_4531610_4986.cpp:190: error: redefinition of `int nCount'
0_0_4531610_4986.cpp:40: error: `int nCount' previously declared here
0_0_4531610_4986.cpp: In function `bool operator<(const Line&, const Line&)':
0_0_4531610_4986.cpp:192: error: redefinition of `bool operator<(const Line&, const Line&)'
0_0_4531610_4986.cpp:42: error: `bool operator<(const Line&, const Line&)' previously defined here
0_0_4531610_4986.cpp: In function `void BuildTree(CNode*, int, int)':
0_0_4531610_4986.cpp:197: error: redefinition of `void BuildTree(CNode*, int, int)'
0_0_4531610_4986.cpp:47: error: `void BuildTree(CNode*, int, int)' previously defined here
0_0_4531610_4986.cpp: In function `void Update(CNode*, double, double, double, int)':
0_0_4531610_4986.cpp:215: error: redefinition of `void Update(CNode*, double, double, double, int)'
0_0_4531610_4986.cpp:65: error: `void Update(CNode*, double, double, double, int)' previously defined here
0_0_4531610_4986.cpp: In function `void CleanTree(CNode*)':
0_0_4531610_4986.cpp:246: error: redefinition of `void CleanTree(CNode*)'
0_0_4531610_4986.cpp:96: error: `void CleanTree(CNode*)' previously defined here
0_0_4531610_4986.cpp: In function `void work()':
0_0_4531610_4986.cpp:262: error: redefinition of `void work()'
0_0_4531610_4986.cpp:112: error: `void work()' previously defined here
0_0_4531610_4986.cpp: In function `int main()':
0_0_4531610_4986.cpp:294: error: redefinition of `int main()'
0_0_4531610_4986.cpp:144: error: `int main()' previously defined here
|