Borderou de evaluare (job #2936484)
Utilizator | Data | 8 noiembrie 2022 21:35:36 | |
---|---|---|---|
Problema | Miyuki vrea să împăturească arborigami | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:22:1: error: 'vector' does not name a type
22 | vector <int> g[NMAX + 2];
| ^~~~~~
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:29:23: error: 'g' was not declared in this scope
29 | for (int nextNode : g[node]) {
| ^
main.cpp: In function 'int main()':
main.cpp:44:5: error: 'g' was not declared in this scope
44 | g[x].push_back(y);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !