Borderou de evaluare (job #2946768)
Utilizator | Data | 25 noiembrie 2022 02:51:13 | |
---|---|---|---|
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(int)':
main.cpp:23:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int j = 0; j < vecini[x].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:28:49: error: 'v' was not declared in this scope
28 | distpart[x] = max(distpart[x], distpart[v[x][j]] + cost[x]);
| ^
main.cpp: In function 'int main()':
main.cpp:40:38: error: 'v' was not declared in this scope
40 | for (int j = 1; j <= n; j++) v[j].clear();
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !