Borderou de evaluare (job #967915)
Utilizator | Nita Adrian Valentin ScoobyDoo38 | Data | 28 iunie 2013 20:19:04 |
---|---|---|---|
Problema | Lupul Urias si Rau | 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:114:28: error: no matching function for call to ‘quick3s(std::array<int, 100000u>&, std::array<int, 100000u>&, int, int&)’
quick3s( dist, lana, 0, n );
^
user.cpp:114:28: note: candidate is:
user.cpp:11:6: note: template<class type1, int size, class type2> void quick3s(std::array<type1, size>&, std::array<type2, size>&, unsigned int, unsigned int)
void quick3s( array< type1, size >& sort, array< type2, size >& nosort, const unsigned begin, const unsigned end )
^
user.cpp:11:6: note: template argument deduction/substitution failed:
user.cpp:114:28: note: mismatched types ‘int’ and ‘#‘integer_cst’ not supported by dump_type#<type error>’
quick3s( dist, lana, 0, n );
^
user.cpp:114:28: note: ‘std::array<int, 100000u>’ is not derived from ‘std::array<type1, size>’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !