Borderou de evaluare (job #2810620)
Utilizator | Data | 29 noiembrie 2021 20:46:20 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:14: error: 'array' in namespace 'std' does not name a template type
15 | std::array<Room, 4> neighbours() const
| ^~~~~
main.cpp:5:1: note: 'std::array' is defined in header '<array>'; did you forget to '#include <array>'?
4 | #include <queue>
+++ |+#include <array>
5 |
main.cpp: In function 'int main()':
main.cpp:64:48: error: 'const struct Room' has no member named 'neighbours'
64 | for(const Room& neigh : c_room.neighbours())
| ^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !