Borderou de evaluare (job #2608904)

Utilizator victorzarzuZarzu Victor victorzarzu Data 1 mai 2020 20:51:25
Problema Potrivire Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void compute(std::__cxx11::string&)': main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 2;i < s.size();++i) ~~^~~~~~~~~~ main.cpp: In function 'void Solve()': main.cpp:61:13: error: 'cuvant1' was not declared in this scope compute(cuvant1); ^~~~~~~ main.cpp:69:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(cuvant[q + 1] == s1[j]); ^~ main.cpp:70:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' ++q; ^~ main.cpp:71:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(q == cuvant.length() - 1) ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:75:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(nr == cuv.size()) ~~~^~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?