Pagini recente » Borderou de evaluare (job #2546886) | Borderou de evaluare (job #342799) | Borderou de evaluare (job #1786856) | Borderou de evaluare (job #1586167) | Borderou de evaluare (job #2324831)
Borderou de evaluare (job #2324831)
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, nr_obiecte=0, l, q, aux, 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, nr_obiecte=0, l, q, aux, cost, pret, xdp, ydp;
^~~~~~~~
main.cpp:13:85: warning: unused variable 'nr_obiecte' [-Wunused-variable]
int n, i, j, t, nr_0=0, k, capatdr, capatstg, itstg, itdr, cost_0, pret_curent, nr_obiecte=0, l, q, aux, cost, pret, xdp, ydp;
^~~~~~~~~~
main.cpp:13:105: warning: variable 'aux' 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, nr_obiecte=0, l, q, aux, cost, pret, xdp, ydp;
^~~
main.cpp:13:110: 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, nr_obiecte=0, l, q, aux, cost, pret, xdp, ydp;
^~~~
main.cpp:13:116: 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, nr_obiecte=0, l, q, aux, cost, pret, xdp, ydp;
^~~~
main.cpp:13:122: 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, nr_obiecte=0, l, q, aux, cost, pret, xdp, ydp;
^~~
main.cpp:13:127: 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, nr_obiecte=0, l, q, aux, 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 |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 262kb | Incorect | 0 |
3 | 2ms | 262kb | OK | 10 |
4 | 7ms | 262kb | Incorect | 0 |
5 | 8ms | 262kb | Incorect | 0 |
6 | 61ms | 262kb | Incorect | 0 |
7 | 60ms | 262kb | Incorect | 0 |
8 | 47ms | 262kb | Incorect | 0 |
9 | 57ms | 262kb | Incorect | 0 |
10 | 60ms | 262kb | Incorect | 0 |
Punctaj total | 10 |