Borderou de evaluare (job #2792509)
Utilizator | Data | 1 noiembrie 2021 19:55:11 | |
---|---|---|---|
Problema | Cerere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void DFS(int, int)':
main.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0; i < v[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:30:7: error: request for member 'resize' in 'v', which is of non-class type 'std::vector<int> [100000]'
30 | v.resize(X);
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !