Borderou de evaluare (job #1840235)
Utilizator | Data | 3 ianuarie 2017 23:20:34 | |
---|---|---|---|
Problema | Bool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool evaltree(tree*)’:
user.cpp:238:27: error: ‘eval’ was not declared in this scope
return eval(node->left) & eval(node->right);
^
user.cpp:240:27: error: ‘eval’ was not declared in this scope
return eval(node->left) | eval(node->right);
^
user.cpp:242:29: error: ‘eval’ was not declared in this scope
return !eval(node->right);
^
user.cpp:246:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !