Borderou de evaluare (job #1549897)

Utilizator Denisa-DanielaDenisa-Daniela Denisa-Daniela Data 12 decembrie 2015 21:42:48
Problema Densitate Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘ciur’: user.c:13:6: warning: operation on ‘nr’ may be undefined [-Wsequence-point] x[++nr] = x[nr - 1] + 1; ^ user.c:18:6: warning: operation on ‘nr’ may be undefined [-Wsequence-point] x[++nr] = x[nr - 1]; ^ user.c: In function ‘main’: user.c:36:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d\n", x[b] - x[a - 1]); ^ user.c:29:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld%ld", &N, &Q); ^ user.c:35:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld%ld", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
24ms264kbOK10
30ms308kbOK10
40ms344kbOK10
528ms344kbOK10
660ms756kbOK10
772ms948kbOK10
872ms2464kbOK10
980ms2608kbOK10
1092ms2700kbOK10
Punctaj total100

Ceva nu functioneaza?