Borderou de evaluare (job #1417041)

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

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:6:22: warning: variable ‘p2’ set but not used [-Wunused-but-set-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:24:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.c:36:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.c:38:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i=0;i<p1;i++){ ^ user.c:44:10: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] vf[x]--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms264kbOK10
30ms256kbOK10
428ms260kbIncorect0
5204ms256kbOK10
6512ms264kbIncorect0
7Depăşit260kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit264kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?