Borderou de evaluare (job #2806390)
Utilizator | Data | 22 noiembrie 2021 16:17:11 | |
---|---|---|---|
Problema | Dragoni | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve1()':
main.cpp:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(i = 0; i < L[k].size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:66:1: error: ISO C++ forbids declaration of 'solve2' with no type [-fpermissive]
66 | solve2()
| ^~~~~~
main.cpp: In function 'int solve2()':
main.cpp:81:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(i = 0; i < L[w.nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:103:1: warning: no return statement in function returning non-void [-Wreturn-type]
103 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !