QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#163882 | #7110. Kuririn MIRACLE | ucup-team1239 | Compile Error | / | / | C++23 | 3.0kb | 2023-09-04 16:06:31 | 2023-09-04 16:06:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
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; | ^~~~~~~~