Borderou de evaluare (job #1229465)

Utilizator afkidStancioiu Nicu Razvan afkid Data 17 septembrie 2014 13:28:20
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:11:25: error: unable to find string literal operator ‘operator"" stdout’ freopen("cmlsc.out","w"stdout); ^ user.cpp:23:25: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive] else d[i][j]=max(d[i-1],d[j-1]); ^ user.cpp:28:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(a[i]=b[j]) ^ user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin); ^ user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ^

Ceva nu functioneaza?