Borderou de evaluare (job #1645013)

Utilizator VasilescuVasilescu Eliza Vasilescu Data 10 martie 2016 10:39:33
Problema Perle2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:67: warning: variable ‘indmax’ set but not used [-Wunused-but-set-variable] int n, k, i, x, sc, smax, ind, max, nr, indn, insfn, insfmax, indmax; ^ user.c:10:58: warning: variable ‘insfmax’ set but not used [-Wunused-but-set-variable] int n, k, i, x, sc, smax, ind, max, nr, indn, insfn, insfmax, indmax; ^ user.c:10:51: warning: variable ‘insfn’ set but not used [-Wunused-but-set-variable] int n, k, i, x, sc, smax, ind, max, nr, indn, insfn, insfmax, indmax; ^ user.c:10:45: warning: variable ‘indn’ set but not used [-Wunused-but-set-variable] int n, k, i, x, sc, smax, ind, max, nr, indn, insfn, insfmax, indmax; ^ user.c:10:18: warning: unused variable ‘x’ [-Wunused-variable] int n, k, i, x, sc, smax, ind, max, nr, indn, insfn, insfmax, indmax; ^ user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &k); ^ user.c:16:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &nr); ^ user.c:23:11: warning: ‘sc’ may be used uninitialized in this function [-Wmaybe-uninitialized] sc+=nr; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms260kbOK10
30ms264kbOK10
416ms260kbOK10
512ms264kbOK10
620ms264kbOK10
720ms264kbOK10
824ms264kbOK10
924ms268kbOK10
1024ms260kbOK10
Punctaj total100

Ceva nu functioneaza?