Borderou de evaluare (job #3148992)
Utilizator | Data | 5 septembrie 2023 17:27:47 | |
---|---|---|---|
Problema | Secv8 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:91:24: error: 'vector' has not been declared
91 | void debug(pnode root, vector<int>& result) {
| ^~~~~~
main.cpp:91:30: error: expected ',' or '...' before '<' token
91 | void debug(pnode root, vector<int>& result) {
| ^
main.cpp: In function 'void debug(pnode, int)':
main.cpp:95:25: error: 'result' was not declared in this scope
95 | debug(root -> left, result);
| ^~~~~~
main.cpp: At global scope:
main.cpp:100:1: error: 'vector' does not name a type
100 | vector<int> debug() {
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:165:28: error: too few arguments to function 'void debug(pnode, int)'
165 | for (auto entry : debug()) {
| ~~~~~^~
main.cpp:91:6: note: declared here
91 | void debug(pnode root, vector<int>& result) {
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !