Borderou de evaluare (job #1093860)
Utilizator | Data | 28 ianuarie 2014 18:21:24 | |
---|---|---|---|
Problema | Subsir | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int LCSLength()’:
user.cpp:14:21: error: ‘strlen’ was not declared in this scope
int n=MAX(strlen(s1),strlen(s2));
^
user.cpp:7:20: note: in definition of macro ‘MAX’
#define MAX(a,b) ((a) > (b) ? (a) : (b))
^
user.cpp: In function ‘int main()’:
user.cpp:45:27: error: ‘strlen’ was not declared in this scope
memmove(s1+1,s1,strlen(s1));
^
user.cpp:45:28: error: ‘memmove’ was not declared in this scope
memmove(s1+1,s1,strlen(s1));
^
user.cpp: In function ‘int LCSLength()’:
user.cpp:38: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 !