Borderou de evaluare (job #1548600)

Utilizator TataruTataru Mihai Tataru Data 11 decembrie 2015 09:35:53
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int calcMin(int)’: user.cpp:38:75: error: ‘struct vf’ has no member named ‘i’ if(varf.w + cost[varf.vf][i].w <= k && cost[varf.vf][varf.i].t < INF) { ^ user.cpp: In function ‘int main()’: user.cpp:62:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &w); ^ user.cpp:63:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i) fscanf(fin, "%d", &fr[i]); ^ user.cpp:64:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &m); ^ user.cpp:72:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d %d %d", &x1, &x2, &t, &ww); ^

Ceva nu functioneaza?