Borderou de evaluare (job #1262138)

Utilizator CartofJohnsonFMI Tanasescu Andrei CartofJohnson Data 12 noiembrie 2014 23:44:17
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:21: 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:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&note[0]); ^ user.c:12:56: 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:18: warning: ‘max2’ may be used uninitialized in this function [-Wmaybe-uninitialized] } else if(note[i]>max2){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms248kbOK10
30ms256kbOK10
40ms252kbOK10
50ms252kbOK10
68ms392kbOK10
78ms368kbOK10
8Depăşit892kbTime limit exceeded.0
9Depăşit888kbTime limit exceeded.0
10Depăşit940kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?