Borderou de evaluare (job #2916756)
Utilizator | Data | 1 august 2022 13:27:37 | |
---|---|---|---|
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*, std::vector<std::vector<int> >, std::vector<int>, int*)':
main.cpp:13:49: error: 'n' was not declared in this scope
13 | rez[nod-1] = rez[stiva[stiva.size() - a[n-1]]] + 1;
| ^
main.cpp:16:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (int i = 0; i < v[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !