Borderou de evaluare (job #2207453)

Utilizator liviu2000Dragomirescu Liviu liviu2000 Data 25 mai 2018 19:00:23
Problema Arbxyz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void DFS(int, int)’: user.cpp:33:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0 ; i < graf[nod].size() ; i++ ) ~~^~~~~~~~~~~~~~~~~~ user.cpp:47:73: error: expression cannot be used as a function if ( vec[nod] == (abc[i]+abc[j]) ( dp[nod][i] || dp[nod][j] ) ) ; ^ user.cpp:47:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( vec[nod] == (abc[i]+abc[j]) ( dp[nod][i] || dp[nod][j] ) ) ; ^~ user.cpp:48:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ ok=1; ^~

Ceva nu functioneaza?