Borderou de evaluare (job #1417061)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 9 aprilie 2015 14:59:52
Problema Numar3 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:6:22: warning: unused variable ‘p2’ [-Wunused-variable] int a,n,i,j,x,p1,p2; ^ user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.c:28:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.c:39:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.c:41:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i=0;i<p1;i++){ ^ user.c:47:10: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] vf[x]--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms252kbOK10
432ms256kbOK10
5224ms256kbOK10
6528ms260kbOK10
7Depăşit256kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit264kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?