QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#143285#6411. Classical FFT Problemasdf1234codingCompile Error//C++2010.1kb2023-08-21 00:47:492023-08-21 00:48:01

詳細信息

answer.code: In function ‘std::vector<long long int> ln(const std::vector<long long int>&, long long int)’:
answer.code:326:16: error: reference to ‘integral’ is ambiguous
  326 |     return mod(integral(multiply(derivative(p), inverse(p, acc))), acc);
      |                ^~~~~~~~
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/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from answer.code:14:
/usr/include/c++/11/concepts:102:13: note: candidates are: ‘template<class _Tp> concept std::integral’
  102 |     concept integral = is_integral_v<_Tp>;
      |             ^~~~~~~~
answer.code:306:4: note:                 ‘std::vector<long long int> integral(const std::vector<long long int>&)’
  306 | vi integral(const vi &p) {
      |    ^~~~~~~~