Pagini recente » Borderou de evaluare (job #703969) | Borderou de evaluare (job #279937) | Borderou de evaluare (job #1338486) | Borderou de evaluare (job #583188) | Borderou de evaluare (job #2586689)
Borderou de evaluare (job #2586689)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:44: warning: self-comparison always evaluates to true [-Wtautological-compare]
if(d[i-(1<<j)].c!=inf&&(i&j==j))
~^~~
main.cpp:29:44: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
main.cpp:33:71: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(d[i-(1<<j)].c<d[i].c||d[i-(1<<j)].c==d[i].c&&(d[i-(1<<j)].g+v[j])<d[i].g)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 39ms | 1179kb | OK | 10 |
| 2 | 18ms | 655kb | Incorect | 0 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 16ms | 655kb | OK | 10 |
| 8 | 3ms | 131kb | OK | 10 |
| 9 | 3ms | 131kb | OK | 10 |
| 10 | 15ms | 655kb | OK | 10 |
| Punctaj total | 90 |