Pagini recente » Borderou de evaluare (job #3201068) | Borderou de evaluare (job #1967916) | Borderou de evaluare (job #568546) | Borderou de evaluare (job #848047) | Borderou de evaluare (job #2500282)
Borderou de evaluare (job #2500282)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:17: warning: statement has no effect [-Wunused-value]
i >> greutate >> profit;
~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:14:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (v[j] = v[j - greutate] + profit)
^
main.cpp:8:31: warning: 'greutate' may be used uninitialized in this function [-Wmaybe-uninitialized]
int obiecte, gmax, v[10000], greutate, profit;
^~~~~~~~
main.cpp:14:31: warning: 'profit' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[j] = v[j - greutate] + profit)
~~~~~~~~~~~~~~~~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 3ms | 131kb | Incorect | 0 | 0 |
| 7 | 3ms | 131kb | Incorect | 0 |
| 8 | 4ms | 131kb | Incorect | 0 | 0 |
| 9 | 4ms | 131kb | Incorect | 0 |
| 10 | 5ms | 131kb | Incorect | 0 |
| 11 | 29ms | 131kb | Incorect | 0 | 0 |
| 12 | 30ms | 131kb | Incorect | 0 |
| 13 | 29ms | 131kb | Incorect | 0 |
| 14 | 96ms | 131kb | Incorect | 0 | 0 |
| 15 | 95ms | 131kb | Incorect | 0 |
| 16 | 96ms | 131kb | Incorect | 0 |
| 17 | 57ms | 131kb | Incorect | 0 | 0 |
| 18 | 119ms | 262kb | Incorect | 0 |
| 19 | 119ms | 131kb | Incorect | 0 |
| 20 | 112ms | 131kb | Incorect | 0 |
| Punctaj total | 0 |