Borderou de evaluare (job #2936483)
Utilizator | Data | 8 noiembrie 2022 21:35:13 | |
---|---|---|---|
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:21:1: error: 'vector' does not name a type
21 | vector <int> g[NMAX + 2];
| ^~~~~~
main.cpp:23:1: error: 'bitset' does not name a type
23 | bitset <NMAX + 2> must;
| ^~~~~~
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:28:23: error: 'g' was not declared in this scope
28 | for (int nextNode : g[node]) {
| ^
main.cpp:31:12: error: 'must' was not declared in this scope
31 | if (!must[nextNode])
| ^~~~
main.cpp: In function 'int main()':
main.cpp:43:5: error: 'g' was not declared in this scope
43 | g[x].push_back(y);
| ^
main.cpp:50:9: error: 'must' was not declared in this scope
50 | if (must[i] == 1)
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !