Borderou de evaluare (job #2054725)

Utilizator Andreiii500Andrei Puiu Andreiii500 Data 2 noiembrie 2017 14:22:16
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int getBoss(int)’: user.cpp:23:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(x = boss[x]) /// Haven't found the boss yet ^ user.cpp:28:43: error: ‘i’ was not declared in this scope for(int index=0; index<stackLength; ++i) ^

Ceva nu functioneaza?