Borderou de evaluare (job #1420400)
Utilizator | Data | 18 aprilie 2015 13:40:42 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:5: error: ‘stString’ was not declared in this scope
stString = (int*)malloc(M*sizeof(int));
^
user.cpp:19:5: error: ‘ndString’ was not declared in this scope
ndString = (int*)malloc(N*sizeof(int));
^
user.cpp:21:9: error: ‘i’ was not declared in this scope
for(i=0; i<M; i++)
^
user.cpp:23:9: error: ‘j’ was not declared in this scope
for(j=0; j<N; j++)
^
user.cpp: In function ‘void lengthLCS(int*, int*, int, int)’:
user.cpp:58:27: error: return-statement with a value, in function returning 'void' [-fpermissive]
return lengthRoot[M][N];
^
user.cpp: In function ‘int main()’:
user.cpp:15:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&M);
^
user.cpp:16:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&N);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !