Borderou de evaluare (job #1261250)

Utilizator CartofJohnsonFMI Tanasescu Andrei CartofJohnson Data 12 noiembrie 2014 02:48:02
Problema Trompeta Status done
Runda Teme Pregatire ACM Unibuc 2013 Compilator c | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:12:18: warning: variable ‘imax’ set but not used [-Wunused-but-set-variable] int i=0,lasti=0,imax=0,imax2=1; for(;i<n;i++)fscanf(f,"%c",&note[i]); ^ user.c:9:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.c:11:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&note[0]); ^ user.c:12:53: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] int i=0,lasti=0,imax=0,imax2=1; for(;i<n;i++)fscanf(f,"%c",&note[i]); ^ user.c:28:12: warning: ‘max2’ may be used uninitialized in this function [-Wmaybe-uninitialized] } else if(note[i]>max2){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK10
20ms240kbOK10
30ms232kbOK10
40ms236kbOK10
50ms232kbOK10
612ms336kbOK10
712ms336kbOK10
8Depăşit1028kbTime limit exceeded.0
9Depăşit844kbTime limit exceeded.0
10Depăşit888kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?