Borderou de evaluare (job #1048065)

Utilizator bogdan9183Bogdan Cionca bogdan9183 Data 5 decembrie 2013 11:14:24
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:19:9: error: incompatible types in assignment of ‘int’ to ‘short int [1025]’ c[i]=c[i-1][j-1]+1; ^ user.cpp:20:14: error: incompatible types in assignment of ‘const short int’ to ‘short int [1025]’ else c[i]=max(c[i=1][j],c[i][j-1]); ^ user.cpp:22:18: error: ‘j’ was not declared in this scope while(i>0 && j>0) ^ user.cpp:24:17: error: ‘k’ was not declared in this scope { d[++k]=a[i]; ^ user.cpp:35:10: error: ‘k’ was not declared in this scope for(i=k;i>=1;i--) ^ user.cpp:36:10: error: invalid types ‘short int[int]’ for array subscript g<<d[i]<<" "; ^

Ceva nu functioneaza?