Borderou de evaluare (job #1487641)
Utilizator | Data | 17 septembrie 2015 10:26:51 | |
---|---|---|---|
Problema | Lant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void A(char*)’:
user.cpp:8:36: error: ‘strcmp’ was not declared in this scope
for(int i=0;i<nc&&strcmp(p,c[i]);i++);
^
user.cpp:10:25: error: ‘strcpy’ was not declared in this scope
strcpy(c[nc++],p);
^
user.cpp: In function ‘int D(char*, char*)’:
user.cpp:13:23: error: ‘strlen’ was not declared in this scope
int i,j,n=strlen(p),m=strlen(q);
^
user.cpp:15:14: error: ‘m’ was not declared in this scope
d[i][m]=n-i;
^
user.cpp:16:16: error: ‘m’ was not declared in this scope
for(j=0;j<=m;j++)
^
user.cpp:19:11: error: ‘m’ was not declared in this scope
for(j=m-1;j>=0;j--) {
^
user.cpp: In function ‘int main()’:
user.cpp:47:38: error: ‘strtok’ was not declared in this scope
for(p=strtok(s," ,.:;?!-");p;A(p),p=strtok(NULL," ,.:;?!-"));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !