Borderou de evaluare (job #2955070)
Utilizator | Data | 16 decembrie 2022 01:30:02 | |
---|---|---|---|
Problema | Easygraph | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(long long int)':
main.cpp:20:18: error: 'v' was not declared in this scope
20 | easyg[nod] = v[nod];
| ^
main.cpp: In function 'int main()':
main.cpp:42:9: error: 'easy' was not declared in this scope; did you mean 'easyg'?
42 | easy.resize(n + 1, 0);
| ^~~~
| easyg
main.cpp:43:11: error: request for member 'clear' in 'g', which is of non-class type 'std::vector<long long int> [30001]'
43 | g.clear();
| ^~~~~
main.cpp:44:11: error: request for member 'resize' in 'g', which is of non-class type 'std::vector<long long int> [30001]'
44 | g.resize(n + 1);
| ^~~~~~
main.cpp:47:19: error: 'v' was not declared in this scope
47 | in >> v[i];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !