Pagini recente » Borderou de evaluare (job #1757051) | Borderou de evaluare (job #367816) | Borderou de evaluare (job #367272) | Borderou de evaluare (job #367253) | Borderou de evaluare (job #2586682)
Borderou de evaluare (job #2586682)
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].g>d[i-(1<<j)].g+v[j])
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:41:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(d[i-(1<<j)].c+1<d[i].c||d[i-(1<<j)].c+1==d[i].c&&d[i].g>v[j])
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 49ms | 1179kb | OK | 10 |
2 | 17ms | 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 |