Borderou de evaluare (job #2072045)

Utilizator rares1012Rares Cautis rares1012 Data 21 noiembrie 2017 12:40:50
Problema Transport Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:30:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d",&n,&k); ^ user.c:33:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d",&v[i]); ^ user.c: In function ‘check’: user.c:12:10: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized] s+=v[i]; ^ user.c: In function ‘main’: user.c:12:10: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:9:11: note: ‘s’ was declared here int i,s,c=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms264kbIncorect0
30ms260kbOK10
40ms268kbOK10
50ms284kbOK10
60ms300kbOK10
74ms312kbOK10
84ms316kbOK10
94ms320kbOK10
104ms312kbOK10
Punctaj total80

Ceva nu functioneaza?