Borderou de evaluare (job #1891393)

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

Raport evaluator

Compilare: user.c: In function ‘Bfs’: user.c:74:2: warning: array subscript has type ‘char’ [-Wchar-subscripts] dur_tot[node][heads[node]] = duration[node]; ^ user.c: In function ‘main’: user.c:133: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:133:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:130: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:133: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:140: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
10ms304kbOK10
20ms264kbOK10
3Depăşit672kbTime limit exceeded.0
40ms704kbOK10
58ms596kbOK10
60ms340kbOK10
78ms392kbOK10
80ms292kbOK10
968ms612kbOK10
10Depăşit668kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?