Borderou de evaluare (job #977776)
Utilizator | Data | 26 iulie 2013 16:32:19 | |
---|---|---|---|
Problema | Ratina | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int lcp(std::string, std::string)’:
user.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<a.size() && i<b.size(); ++i)
^
user.cpp:13:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<a.size() && i<b.size(); ++i)
^
user.cpp: In function ‘bool cmp(const int&, const int&)’:
user.cpp:19:43: error: ‘strcmp’ was not declared in this scope
return strcmp(cv[a].c_str(),cv[b].c_str())<0;
^
user.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !