QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#163884 | #7110. Kuririn MIRACLE | ucup-team1239 | Compile Error | / | / | C++20 | 3.0kb | 2023-09-04 16:06:59 | 2023-09-04 16:06:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int32_t main()’: answer.code:54:18: error: reference to ‘integral’ is ambiguous 54 | if( (4*r+integral*v)>=d ){ | ^~~~~~~~ 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:2: /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:24:22: note: ‘long double integral’ 24 | long double r, v, d, integral = 7.86984883735770769002; | ^~~~~~~~