Borderou de evaluare (job #1924977)
Utilizator | Data | 12 martie 2017 14:36:45 | |
---|---|---|---|
Problema | Ratina | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Add(Nod*, const char*, int)’:
user.cpp:30:38: error: ‘strlen’ was not declared in this scope
for (int i = 0; i<(int)strlen(cuvant); i++) {
^
user.cpp: In function ‘int minLen()’:
user.cpp:73:27: warning: integer overflow in expression [-Woverflow]
int minLen = (1 << 31) - 1;
^
user.cpp:75:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strings[queryStringIndex[i]].size() < minLen)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !