Borderou de evaluare (job #2324843)

Utilizator DragosArseneDragos Arsene DragosArsene Data 21 ianuarie 2019 16:49:29
Problema Antivirus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:84:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<rucsac[1].size();j++){ ~^~~~~~~~~~~~~~~~~ main.cpp:101:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(q=0;q<rucsac[l].size();q++){ ~^~~~~~~~~~~~~~~~~ main.cpp:13:32: warning: variable 'capatdr' set but not used [-Wunused-but-set-variable] int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, l, q, cost, pret, xdp, ydp; ^~~~~~~ main.cpp:13:41: warning: variable 'capatstg' set but not used [-Wunused-but-set-variable] int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, l, q, cost, pret, xdp, ydp; ^~~~~~~~ main.cpp:13:91: warning: variable 'cost' set but not used [-Wunused-but-set-variable] int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, l, q, cost, pret, xdp, ydp; ^~~~ main.cpp:13:97: warning: variable 'pret' set but not used [-Wunused-but-set-variable] int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, l, q, cost, pret, xdp, ydp; ^~~~ main.cpp:13:103: warning: variable 'xdp' set but not used [-Wunused-but-set-variable] int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, l, q, cost, pret, xdp, ydp; ^~~ main.cpp:13:108: warning: variable 'ydp' set but not used [-Wunused-but-set-variable] int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, l, q, cost, pret, xdp, ydp; ^~~ main.cpp:18:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d", &t); ^ main.cpp:21:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d", &n, &k); ^ main.cpp:23:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d", &v[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms262kbIncorect0
32ms262kbOK10
47ms262kbIncorect0
58ms262kbIncorect0
629ms262kbIncorect0
732ms262kbIncorect0
830ms262kbIncorect0
930ms262kbIncorect0
1029ms262kbIncorect0
Punctaj total10

Ceva nu functioneaza?