QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#523240 | #7775. 【模板】矩阵快速幂 | ChengC | Compile Error | / | / | C++14 | 6.5kb | 2024-08-17 23:30:12 | 2024-08-17 23:30:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
In file included from /usr/include/c++/13/algorithm:61, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51, from answer.code:1: /usr/include/c++/13/bits/stl_algo.h: In instantiation of ‘_OIter std::copy_n(_IIter, _Size, _OIter) [with _IIter = __int128*; _Size = __int128; _OIter = __int128*]’: answer.code:65:11: required from here /usr/include/c++/13/bits/stl_algo.h:756:47: error: call of overloaded ‘__size_to_integer(__int128&)’ is ambiguous 756 | const auto __n2 = std::__size_to_integer(__n); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/c++/13/algorithm:60: /usr/include/c++/13/bits/stl_algobase.h:1012:3: note: candidate: ‘constexpr int std::__size_to_integer(int)’ 1012 | __size_to_integer(int __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1014:3: note: candidate: ‘constexpr unsigned int std::__size_to_integer(unsigned int)’ 1014 | __size_to_integer(unsigned __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1016:3: note: candidate: ‘constexpr long int std::__size_to_integer(long int)’ 1016 | __size_to_integer(long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1018:3: note: candidate: ‘constexpr long unsigned int std::__size_to_integer(long unsigned int)’ 1018 | __size_to_integer(unsigned long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1020:3: note: candidate: ‘constexpr long long int std::__size_to_integer(long long int)’ 1020 | __size_to_integer(long long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1022:3: note: candidate: ‘constexpr long long unsigned int std::__size_to_integer(long long unsigned int)’ 1022 | __size_to_integer(unsigned long long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1050:3: note: candidate: ‘constexpr long long int std::__size_to_integer(float)’ 1050 | __size_to_integer(float __n) { return (long long)__n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1052:3: note: candidate: ‘constexpr long long int std::__size_to_integer(double)’ 1052 | __size_to_integer(double __n) { return (long long)__n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1054:3: note: candidate: ‘constexpr long long int std::__size_to_integer(long double)’ 1054 | __size_to_integer(long double __n) { return (long long)__n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algo.h: In instantiation of ‘_OIter std::copy_n(_IIter, _Size, _OIter) [with _IIter = Solve2::Node*; _Size = __int128; _OIter = Solve2::Node*]’: answer.code:266:10: required from here /usr/include/c++/13/bits/stl_algo.h:756:47: error: call of overloaded ‘__size_to_integer(__int128&)’ is ambiguous 756 | const auto __n2 = std::__size_to_integer(__n); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/stl_algobase.h:1012:3: note: candidate: ‘constexpr int std::__size_to_integer(int)’ 1012 | __size_to_integer(int __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1014:3: note: candidate: ‘constexpr unsigned int std::__size_to_integer(unsigned int)’ 1014 | __size_to_integer(unsigned __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1016:3: note: candidate: ‘constexpr long int std::__size_to_integer(long int)’ 1016 | __size_to_integer(long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1018:3: note: candidate: ‘constexpr long unsigned int std::__size_to_integer(long unsigned int)’ 1018 | __size_to_integer(unsigned long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1020:3: note: candidate: ‘constexpr long long int std::__size_to_integer(long long int)’ 1020 | __size_to_integer(long long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1022:3: note: candidate: ‘constexpr long long unsigned int std::__size_to_integer(long long unsigned int)’ 1022 | __size_to_integer(unsigned long long __n) { return __n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1050:3: note: candidate: ‘constexpr long long int std::__size_to_integer(float)’ 1050 | __size_to_integer(float __n) { return (long long)__n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1052:3: note: candidate: ‘constexpr long long int std::__size_to_integer(double)’ 1052 | __size_to_integer(double __n) { return (long long)__n; } | ^~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_algobase.h:1054:3: note: candidate: ‘constexpr long long int std::__size_to_integer(long double)’ 1054 | __size_to_integer(long double __n) { return (long long)__n; } | ^...