QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#671809 | #9434. Italian Cuisine | ezteam1# | Compile Error | / | / | C++14 | 2.7kb | 2024-10-24 14:32:49 | 2024-10-24 14:32:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:52:20: error: ‘int y0’ redeclared as different kind of entity 52 | int n,x[N],y[N],x0,y0,r0; | ^~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cassert:43, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:33, from answer.code:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:220:1: note: previous declaration ‘double y0(double)’ 220 | __MATHCALL (y0,, (_Mdouble_)); | ^~~~~~~~~~ answer.code: In function ‘bool check(int, int)’: answer.code:79:25: error: invalid operands of types ‘long double’ and ‘double(double) throw ()’ {aka ‘double(double)’} to binary ‘operator*’ 79 | db d=fabs(a*x0+b*y0+c)/sqrt(a*a+b*b); | ~^~~ | | | | | double(double) throw () {aka double(double)} | long double answer.code: In function ‘bool dir(int, int)’: answer.code:86:27: error: invalid operands of types ‘long double’ and ‘double(double) throw ()’ {aka ‘double(double)’} to binary ‘operator*’ 86 | return dcmp(a*x0+b*y0+c,0)<=0; | ~^~~ | | | | | double(double) throw () {aka double(double)} | long double answer.code: In function ‘int main()’: answer.code:95:38: error: assignment of function ‘double y0(double)’ 95 | n=read(),x0=read(),y0=read(),r0=read(); | ~~^~~~~~~