Borderou de evaluare (job #2213642)

Utilizator Lazar_LaurentiuLazar Laurentiu Lazar_Laurentiu Data 16 iunie 2018 18:41:44
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:1: error: ‘vector’ does not name a type vector<string> vans; ^~~~~~ user.cpp: In function ‘bool ver(std::__cxx11::string, std::__cxx11::string)’: user.cpp:18:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0,la=0;i<s2.size();i++) ~^~~~~~~~~~ user.cpp:21:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(la==s1.size()) ~~^~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:46:17: error: ‘vans’ was not declared in this scope if(test)vans.push_back(s[i]); ^~~~ user.cpp:48:10: error: ‘vans’ was not declared in this scope g<<vans.size()<<'\n'; ^~~~

Ceva nu functioneaza?