Borderou de evaluare (job #1534475)
Utilizator | Data | 23 noiembrie 2015 19:08:02 | |
---|---|---|---|
Problema | Lista lui Andrei | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:41: error: no matching function for call to ‘exponent(mat<26ul>&, int)’
const auto mat_rez = exponent(graf, n-1);
^
user.cpp:56:41: note: candidate is:
user.cpp:29:9: note: template<long unsigned int sz> mat<sz> exponent(mat<sz>, int)
mat<sz> exponent(mat<sz> baza, int x){
^
user.cpp:29:9: note: template argument deduction/substitution failed:
user.cpp:56:41: note: mismatched types ‘long unsigned int’ and ‘#‘integer_cst’ not supported by dump_type#<type error>’
const auto mat_rez = exponent(graf, n-1);
^
user.cpp:56:41: note: ‘std::array<std::array<int, 26u>, 26u>’ is not derived from ‘std::array<std::array<int, sz>, sz>’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !