Borderou de evaluare (job #1078746)
Utilizator | Data | 12 ianuarie 2014 11:28:08 | |
---|---|---|---|
Problema | Facebook Search | Status | done |
Runda | ONIS 2014, Runda 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool sort_by_relevancy_and_name(const user*, const user*)’:
user.cpp:72:56: error: ‘stricmp’ was not declared in this scope
return stricmp(a->name.c_str(), b->name.c_str()) < 0;
^
user.cpp: In function ‘void run_test(std::ifstream&, std::ofstream&)’:
user.cpp:118:70: error: ‘stricmp’ was not declared in this scope
if (stricmp(users[imid]->name.c_str(), search.c_str()) < 0)
^
user.cpp: In function ‘bool sort_by_relevancy_and_name(const user*, const user*)’:
user.cpp:74: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 !