Borderou de evaluare (job #2972079)
Utilizator | Data | 28 ianuarie 2023 17:33:29 | |
---|---|---|---|
Problema | Apm2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:43:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int i = 0; i < l[node].size(); i++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:78:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
78 | sort(edges + 1, edges + m + 1, cmp);
| ^~~~
| qsort
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !