Borderou de evaluare (job #1261249)

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

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:20: warning: ‘max2’ may be used uninitialized in this function [-Wmaybe-uninitialized] } else if(max2<9 && note[i]>max2){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbIncorect0
20ms252kbIncorect0
30ms252kbIncorect0
40ms252kbIncorect0
50ms252kbIncorect0
6Depăşit356kbTime limit exceeded.0
7Depăşit360kbTime limit exceeded.0
8Depăşit976kbTime limit exceeded.0
9Depăşit888kbTime limit exceeded.0
10Depăşit880kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?