Borderou de evaluare (job #1891232)

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

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:19: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:19:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:16: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:19: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:26: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
20ms256kbOK10
38ms284kbIncorect0
40ms300kbOK10
58ms280kbOK10
60ms276kbIncorect0
70ms276kbOK10
80ms256kbIncorect0
90ms300kbOK10
1012ms288kbIncorect0
Punctaj total60

Ceva nu functioneaza?