QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#772676 | #9576. Ordainer of Inexorable Judgment | ucup-team4881# | Compile Error | / | / | C++14 | 4.1kb | 2024-11-22 21:09:27 | 2024-11-22 21:09:27 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:80:14: error: redefinition of ‘const double pi’ 80 | const double pi=acos(-1); | ^~ answer.code:3:14: note: ‘const double pi’ previously defined here 3 | const double pi=acos(-1); | ^~ answer.code:81:5: error: redefinition of ‘int n’ 81 | int n,X0,Y0,d,t; | ^ answer.code:4:5: note: ‘int n’ previously declared here 4 | int n,X0,Y0,d,t; | ^ answer.code:81:7: error: redefinition of ‘int X0’ 81 | int n,X0,Y0,d,t; | ^~ answer.code:4:7: note: ‘int X0’ previously declared here 4 | int n,X0,Y0,d,t; | ^~ answer.code:81:10: error: redefinition of ‘int Y0’ 81 | int n,X0,Y0,d,t; | ^~ answer.code:4:10: note: ‘int Y0’ previously declared here 4 | int n,X0,Y0,d,t; | ^~ answer.code:81:13: error: redefinition of ‘int d’ 81 | int n,X0,Y0,d,t; | ^ answer.code:4:13: note: ‘int d’ previously declared here 4 | int n,X0,Y0,d,t; | ^ answer.code:81:15: error: redefinition of ‘int t’ 81 | int n,X0,Y0,d,t; | ^ answer.code:4:15: note: ‘int t’ previously declared here 4 | int n,X0,Y0,d,t; | ^ answer.code:82:8: error: redefinition of ‘struct point’ 82 | struct point{ | ^~~~~ answer.code:5:8: note: previous definition of ‘struct point’ 5 | struct point{ | ^~~~~ answer.code:91:2: error: conflicting declaration ‘int A [105]’ 91 | }A[105]; | ^ answer.code:14:2: note: previous declaration as ‘point A [105]’ 14 | }A[105]; | ^ answer.code:92:15: error: redefinition of ‘double cross(const point&, const point&)’ 92 | inline double cross(const point&a,const point&b){ | ^~~~~ answer.code:15:15: note: ‘double cross(const point&, const point&)’ previously defined here 15 | inline double cross(const point&a,const point&b){ | ^~~~~ answer.code:95:15: error: redefinition of ‘double dot(const point&, const point&)’ 95 | inline double dot(const point&a,const point&b){ | ^~~ answer.code:18:15: note: ‘double dot(const point&, const point&)’ previously defined here 18 | inline double dot(const point&a,const point&b){ | ^~~ answer.code:98:6: error: redefinition of ‘bool check(double)’ 98 | bool check(double deg){ | ^~~~~ answer.code:21:6: note: ‘bool check(double)’ previously defined here 21 | bool check(double deg){ | ^~~~~ answer.code:125:15: error: redefinition of ‘double getCAP(double, double, double, double)’ 125 | inline double getCAP(double l,double r,double L,double R){ | ^~~~~~ answer.code:45:15: note: ‘double getCAP(double, double, double, double)’ previously defined here 45 | inline double getCAP(double l,double r,double L,double R){ | ^~~~~~ answer.code:128:5: error: redefinition of ‘int main()’ 128 | int main(){ | ^~~~ answer.code:48:5: note: ‘int main()’ previously defined here 48 | int main(){ | ^~~~