Borderou de evaluare (job #1891224)

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

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", &heads[i], &duration[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", &heads[i], &duration[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
10ms256kbIncorect0
20ms252kbOK10
38ms288kbIncorect0
40ms300kbIncorect0
58ms276kbOK10
60ms268kbIncorect0
70ms280kbIncorect0
80ms260kbIncorect0
90ms296kbIncorect0
1012ms284kbIncorect0
Punctaj total20

Ceva nu functioneaza?