Borderou de evaluare (job #2834001)
Utilizator | Data | 16 ianuarie 2022 11:17:17 | |
---|---|---|---|
Problema | Arh | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::string solvePalindrom(std::string&, int&)':
main.cpp:53:3: error: 'reverse' was not declared in this scope
53 | reverse(jumatate.begin(), jumatate.end());
| ^~~~~~~
main.cpp: In function 'std::string solvePalindromConcatenat(std::string&, int&)':
main.cpp:71:3: error: 'reverse' was not declared in this scope
71 | reverse(jumatate.begin(), jumatate.end());
| ^~~~~~~
main.cpp: In function 'std::string findRez(std::string&, int)':
main.cpp:101:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | while (poz < s.size()) {
| ~~~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !