Borderou de evaluare (job #3240585)
Utilizator | Data | 17 august 2024 19:27:35 | |
---|---|---|---|
Problema | Nivele2 | 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)':
main.cpp:15:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<l[nod].size();i++)
| ~^~~~~~~~~~~~~~
main.cpp:20:13: error: 't' was not declared in this scope
20 | t[vecin]=nod;
| ^
main.cpp: In function 'void bfs(int)':
main.cpp:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i=0;i<l[nc].size();i++)
| ~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:57:9: warning: unused variable 'c' [-Wunused-variable]
57 | int c=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !