Borderou de evaluare (job #3041917)
Utilizator | Data | 2 aprilie 2023 18:43:11 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, std::vector<int>&, std::vector<std::vector<int> >&, std::vector<bool>&)':
main.cpp:13:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int j = 0; j < edges[node].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:44:9: error: 'reverse' was not declared in this scope
44 | reverse(ans.begin(), ans.end());
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !