Borderou de evaluare (job #1891250)

Utilizator preda.andreiPreda Andrei preda.andrei Data 23 februarie 2017 20:44:37
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:18:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] fscanf(fin, "%d%d", &duration[i], &heads[i]); ^ user.c:18:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:15:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &n, &p, &k); ^ user.c:18:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &duration[i], &heads[i]); ^ user.c:25:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms252kbOK10
38ms300kbIncorect0
40ms300kbOK10
58ms296kbOK10
60ms272kbIncorect0
70ms272kbOK10
80ms272kbIncorect0
90ms300kbOK10
1012ms296kbOK10
Punctaj total70

Ceva nu functioneaza?