Borderou de evaluare (job #747674)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | StrGen (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 nov. 2023 14:50:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:35:33: error: 'reverse' was not declared in this scope
35 | reverse(s1.begin(), s1.end());
| ^~~~~~~
main.cpp:40:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
40 | if(pz == s.size())
| ~~~^~~~~~~~~~~
main.cpp:45:17: error: 'reverse' was not declared in this scope
45 | reverse(s1.begin(), s1.end());
| ^~~~~~~
main.cpp:49:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
49 | for (int i = 0; i < s.size(); i++)
| ~~^~~~~~~~~~