Borderou de evaluare (job #1384374)

Utilizator theprdvtheprdv theprdv Data 11 martie 2015 06:41:21
Problema Johnie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void find_euler_cycle(int)’: user.cpp:43:131: error: second operand to the conditional operator is of type ‘void’, but the third operand is neither a throw-expression nor of type ‘void’ else !node && cycle[cycle[0][0]].size() > 0 && st.size() > 1 ? broke[cycle[0][0]].push_back(cycle[cycle[0][0]].size()) : node = node, ^ user.cpp: In function ‘int main()’: user.cpp:65:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0, left = 0, right; i <= broke[k].size(); i++){ ^ user.cpp:66:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] right = i < broke[k].size() ? broke[k][i] - 1 : cycle[k].size(); ^

Ceva nu functioneaza?