Borderou de evaluare (job #1131765)
Utilizator | Data | 1 martie 2014 13:58:09 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool iseuler()’:
user.cpp:25:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (grd[i] & 1 == 1) {
^
user.cpp: In function ‘void euler()’:
user.cpp:38:13: error: ‘st’ was not declared in this scope
st.push(G[nd][0].first);
^
user.cpp: In function ‘int main()’:
user.cpp:66:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sol.size() - 1; i++) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !