QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#755968 | #9552. The Chariot | ucup-team025# | Compile Error | / | / | C++20 | 44.5kb | 2024-11-16 18:32:30 | 2024-11-16 18:32:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:925:55: error: expected ‘>’ before ‘*=’ token 925 | enable_if_t<internal::is_broadly_integral_v<I>> *= nullptr> | ^~ answer.code:1369:55: error: expected ‘>’ before ‘*=’ token 1369 | enable_if_t<internal::is_broadly_integral_v<I>> *= nullptr> | ^~ answer.code: In static member function ‘static std::pair<std::vector<int>, std::vector<int> > MultiPrecisionInteger::_divmod_li(const std::vector<int>&, const std::vector<int>&)’: answer.code:1227:28: error: no matching function for call to ‘MultiPrecisionInteger::_integer_to_vec(long long int)’ 1227 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1370:22: note: candidate: ‘template<class I, typename std::enable_if<is_broadly_integral_v<I>, void>::type <anonymous> > static std::vector<int> MultiPrecisionInteger::_integer_to_vec(I)’ 1370 | static vector<int> _integer_to_vec(I x) { | ^~~~~~~~~~~~~~~ answer.code:1370:22: note: template argument deduction/substitution failed: answer.code:1227:28: note: couldn’t deduce template parameter ‘<anonymous>’ 1227 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1227:54: error: no matching function for call to ‘MultiPrecisionInteger::_integer_to_vec(long long int)’ 1227 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1370:22: note: candidate: ‘template<class I, typename std::enable_if<is_broadly_integral_v<I>, void>::type <anonymous> > static std::vector<int> MultiPrecisionInteger::_integer_to_vec(I)’ 1370 | static vector<int> _integer_to_vec(I x) { | ^~~~~~~~~~~~~~~ answer.code:1370:22: note: template argument deduction/substitution failed: answer.code:1227:54: note: couldn’t deduce template parameter ‘<anonymous>’ 1227 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1227:63: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<std::vector<int>, std::vector<int> >’ 1227 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ^ | | | <brace-enclosed initializer list> answer.code: In static member function ‘static std::pair<std::vector<int>, std::vector<int> > MultiPrecisionInteger::_divmod_ll(const std::vector<int>&, const std::vector<int>&)’: answer.code:1234:28: error: no matching function for call to ‘MultiPrecisionInteger::_integer_to_vec(long long int)’ 1234 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1370:22: note: candidate: ‘template<class I, typename std::enable_if<is_broadly_integral_v<I>, void>::type <anonymous> > static std::vector<int> MultiPrecisionInteger::_integer_to_vec(I)’ 1370 | static vector<int> _integer_to_vec(I x) { | ^~~~~~~~~~~~~~~ answer.code:1370:22: note: template argument deduction/substitution failed: answer.code:1234:28: note: couldn’t deduce template parameter ‘<anonymous>’ 1234 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1234:54: error: no matching function for call to ‘MultiPrecisionInteger::_integer_to_vec(long long int)’ 1234 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1370:22: note: candidate: ‘template<class I, typename std::enable_if<is_broadly_integral_v<I>, void>::type <anonymous> > static std::vector<int> MultiPrecisionInteger::_integer_to_vec(I)’ 1370 | static vector<int> _integer_to_vec(I x) { | ^~~~~~~~~~~~~~~ answer.code:1370:22: note: template argument deduction/substitution failed: answer.code:1234:54: note: couldn’t deduce template parameter ‘<anonymous>’ 1234 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ~~~~~~~~~~~~~~~^~~~~~~~~ answer.code:1234:63: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<std::vector<int>, std::vector<int> >’ 1234 | return {_integer_to_vec(va / vb), _integer_to_vec(va % vb)}; | ^ | | | ...