Borderou de evaluare (job #2203174)

Utilizator negrea1998Negrea Dumitru Marian negrea1998 Data 11 mai 2018 11:43:52
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:15:49: warning: data definition has no type or storage class int M,N,A[Nmax],B[Nmax],D[Nmax][Nmax],sir[Nmax];bst; ^~~ user.c:15:49: warning: type defaults to ‘int’ in declaration of ‘bst’ [-Wimplicit-int] user.c: In function ‘main’: user.c:19:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:20:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:21:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d,%d",&M,&N); ^~~~~~~~~~~~~~~~~~~~ user.c:23:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&A[i]); ^~~~~~~~~~~~~~~~~ user.c:25:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&B[i]); ^~~~~~~~~~~~~~~~~ user.c:28:23: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(A[i]==B[j]){ ~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit876kbTime limit exceeded.0
2Depăşit756kbTime limit exceeded.0
3Depăşit796kbTime limit exceeded.0
4Depăşit756kbTime limit exceeded.0
5Depăşit804kbTime limit exceeded.0
6Depăşit804kbTime limit exceeded.0
7Depăşit756kbTime limit exceeded.0
8Depăşit756kbTime limit exceeded.0
9Depăşit752kbTime limit exceeded.0
10Depăşit800kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?