Borderou de evaluare (job #1891276)

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

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:117: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:117:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:114: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:117: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:124: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
10ms296kbOK10
20ms268kbOK10
3Depăşit680kbTime limit exceeded.0
4Depăşit672kbTime limit exceeded.0
58ms592kbOK10
60ms348kbOK10
78ms436kbOK10
80ms288kbOK10
9Depăşit720kbTime limit exceeded.0
10Depăşit840kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?