QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#300559 | #6188. Elliptic Curve Problem | ucup-team874 | Compile Error | / | / | C++17 | 2.5kb | 2024-01-08 14:17:01 | 2024-01-08 14:17:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘i128 s1(ll)’: answer.code:85:26: error: call of overloaded ‘fdiv(ll&, ll&)’ is ambiguous 85 | if (x == 0) ret -= fdiv(c,p); | ~~~~^~~~~ In file included from /usr/include/c++/11/cmath:45, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from answer.code:9: /usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h:27:20: note: candidate: ‘float fdiv(double, double)’ 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ answer.code:45:13: note: candidate: ‘i128 fdiv(i128, i128)’ 45 | inline i128 fdiv(i128 a, i128 b) { | ^~~~ answer.code:88:41: error: call of overloaded ‘fdiv(ll, ll&)’ is ambiguous 88 | for (ll i = 1; i < x; i++) ret += fdiv(i*i+c,p); | ~~~~^~~~~~~~~ In file included from /usr/include/c++/11/cmath:45, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from answer.code:9: /usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h:27:20: note: candidate: ‘float fdiv(double, double)’ 27 | __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); | ^~~~~~~~~~~~~~~ answer.code:45:13: note: candidate: ‘i128 fdiv(i128, i128)’ 45 | inline i128 fdiv(i128 a, i128 b) { | ^~~~