Borderou de evaluare (job #1891417)

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

Raport evaluator

Compilare: user.c: In function ‘Bfs’: user.c:75:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] dur_tot[node][heads[node]] = duration[node]; ^ user.c: In function ‘main’: user.c:125:9: 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:125:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:122:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &n, &p, &k); ^ user.c:125:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &duration[i], &heads[i]); ^ user.c:132:15: 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
10ms284kbOK10
20ms260kbOK10
380ms504kbOK10
40ms504kbOK10
58ms452kbOK10
60ms320kbOK10
74ms360kbOK10
80ms280kbOK10
98ms480kbOK10
10Depăşit660kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?