QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#163407 | #7110. Kuririn MIRACLE | ucup-team1133 | Compile Error | / | / | C++20 | 2.2kb | 2023-09-04 03:24:16 | 2023-09-04 03:24:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘ld integral(ld, ld, ld, ld)’: answer.code:60:12: error: reference to ‘integral’ is ambiguous 60 | return integral(l, mid, eps / 2, sl) + integral(mid, r, eps / 2, sr); | ^~~~~~~~ In file included from /usr/include/c++/11/compare:39, from /usr/include/c++/11/bits/stl_pair.h:65, from /usr/include/c++/11/bits/stl_algobase.h:64, from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from answer.code:1: /usr/include/c++/11/concepts:100:13: note: candidates are: ‘template<class _Tp> concept std::integral’ 100 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ answer.code:54:4: note: ‘ld integral(ld, ld, ld, ld)’ 54 | ld integral(ld l, ld r, ld eps, ld st) { | ^~~~~~~~ answer.code:60:44: error: reference to ‘integral’ is ambiguous 60 | return integral(l, mid, eps / 2, sl) + integral(mid, r, eps / 2, sr); | ^~~~~~~~ In file included from /usr/include/c++/11/compare:39, from /usr/include/c++/11/bits/stl_pair.h:65, from /usr/include/c++/11/bits/stl_algobase.h:64, from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from answer.code:1: /usr/include/c++/11/concepts:100:13: note: candidates are: ‘template<class _Tp> concept std::integral’ 100 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ answer.code:54:4: note: ‘ld integral(ld, ld, ld, ld)’ 54 | ld integral(ld l, ld r, ld eps, ld st) { | ^~~~~~~~ answer.code: In function ‘void solve()’: answer.code:66:21: error: reference to ‘integral’ is ambiguous 66 | ld t1 = 2 * r * integral(0, PI / 2, 1e-9, simpson(0, PI / 2)) / v; | ^~~~~~~~ In file included from /usr/include/c++/11/compare:39, from /usr/include/c++/11/bits/stl_pair.h:65, from /usr/include/c++/11/bits/stl_algobase.h:64, from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from answer.code:1: /usr/include/c++/11/concepts:100:13: note: candidates are: ‘template<class _Tp> concept std::integral’ 100 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ answer.code:54:4: note: ‘ld integral(ld, ld, ld, ld)’ 54 | ld integral(ld l, ld r, ld eps, ld st) { | ^~~~~~~~ answer.code:81:32: error: reference to ‘integral’ is ambiguous 81 | ld another_t = 2 * r * integral(0, asinl(2 * r / dist), 1e-9, simpson(0, asinl(2 * r / dist))) / v + sqrtl(dist * dist - 4 * r * r) / (v * get_v(asinl(2 * r / dist))); | ^~~~~~~~ In file included from /usr/include/c++/11/compare:39, from /usr/include/c++/11/bits/stl_pair.h:65, from /usr/include/c++/11/bits/stl_algobase.h:64, from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41, from answer.code:1: /usr/include/c++/11/concepts:100:13: note: candidates are: ‘template<class _Tp> concept std::integral’ 100 | concept integral = is_integral_v<_Tp>; | ^~~~~~~~ answer.code:54:4: note: ‘ld integral(ld, ld, ld, ld)’ 54 | ld integral(ld l, ld r, ld eps, ld st) { | ^~~~~~~~