Borderou de evaluare (job #2661703)

Utilizator KPP17Popescu Paul KPP17 Data 22 octombrie 2020 15:59:01
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:38:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (m = bfs()) ^ main.cpp:41:36: error: expected ')' before ';' token for (int i = n; i; i = T[i];) ^ main.cpp:41:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = n; i; i = T[i];) ^~~ main.cpp:41:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int i = n; i; i = T[i];) ^ main.cpp:41:37: error: expected primary-expression before ')' token Non zero exit status: 1

Ceva nu functioneaza?