Borderou de evaluare (job #2724917)
Utilizator | Data | 18 martie 2021 06:41:48 | |
---|---|---|---|
Problema | Tsunami | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:14: error: 'Point' was not declared in this scope
std::queue<Point> q;
^~~~~
main.cpp:15:19: error: template argument 1 is invalid
std::queue<Point> q;
^
main.cpp:15:19: error: template argument 2 is invalid
main.cpp:22:11: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(std::make_pair(x, y));
^~~~
main.cpp:25:9: error: expected ';' before 'dir'
Point dir[] = { {-1, 0}, {0, -1}, {1, 0}, {0, 1} };
^~~
main.cpp:43:1: error: expected '}' at end of input
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !