Borderou de evaluare (job #1891299)

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

Raport evaluator

Compilare: user.c: In function ‘Bfs’: user.c:76:2: warning: array subscript has type ‘char’ [-Wchar-subscripts] dur_tot[node][heads[node]] = duration[node]; ^ user.c: In function ‘main’: user.c:126: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:126:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:123: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:126: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:133: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
10ms300kbOK10
20ms268kbOK10
3100ms704kbOK10
40ms704kbOK10
58ms596kbOK10
60ms348kbOK10
74ms420kbOK10
80ms288kbOK10
98ms628kbOK10
10Depăşit852kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?