Pagini recente » Borderou de evaluare (job #865762) | Borderou de evaluare (job #1538122) | Borderou de evaluare (job #2354330) | Borderou de evaluare (job #2177926) | Borderou de evaluare (job #2324843)
Borderou de evaluare (job #2324843)
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 |
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 | 29ms | 262kb | Incorect | 0 |
7 | 32ms | 262kb | Incorect | 0 |
8 | 30ms | 262kb | Incorect | 0 |
9 | 30ms | 262kb | Incorect | 0 |
10 | 29ms | 262kb | Incorect | 0 |
Punctaj total | 10 |