Borderou de evaluare (job #1048067)

Utilizator bogdan9183Bogdan Cionca bogdan9183 Data 5 decembrie 2013 11:16:17
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:17:10: error: ‘j’ was not declared in this scope for (j=1;j<=n;j++) ^ user.cpp:21:9: error: redeclaration of ‘int k’ int k=0; ^ user.cpp:9:11: error: ‘int k’ previously declared here int i,k; ^ user.cpp:22:18: error: ‘j’ was not declared in this scope while(i>0 && j>0) ^ user.cpp:24:18: error: invalid types ‘short int[int]’ for array subscript { d[++k]=a[i]; ^ user.cpp:36:10: error: invalid types ‘short int[int]’ for array subscript g<<d[i]<<" "; ^

Ceva nu functioneaza?