Pagini recente » Borderou de evaluare (job #2731557) | Borderou de evaluare (job #869597) | Borderou de evaluare (job #438708) | Borderou de evaluare (job #433558) | Borderou de evaluare (job #2526217)
Borderou de evaluare (job #2526217)
Raport evaluator
Compilare:
main.cpp: In function 'int root(int)':
main.cpp:22:12: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^~~
main.cpp: In function 'int main()':
main.cpp:39:26: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (h[rx] >= h[ry]) father[ry] = rx;
~~~~^
main.cpp:39:17: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (h[rx] >= h[ry]) father[ry] = rx;
~~~~^
main.cpp:37:5: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (root(v[i].x) != root(v[i].y)) {
^~
main.cpp:37:5: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 4194kb | Corect! | 12 |
2 | 10ms | 4194kb | Corect! | 12 |
3 | 25ms | 4456kb | Corect! | 12 |
4 | 72ms | 5636kb | Corect! | 13 |
5 | 159ms | 7077kb | Corect! | 13 |
6 | 205ms | 8257kb | Corect! | 13 |
7 | 285ms | 10092kb | Corect! | 13 |
8 | 9ms | 4194kb | Corect! | 12 |
Punctaj total | 100 |