Borderou de evaluare (job #3234705)
Utilizator | Data | 11 iunie 2024 12:04:30 | |
---|---|---|---|
Problema | Harta3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfsA(int)':
main.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfsB(int)':
main.cpp:28:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:37:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int i = 0; i < v[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:5: error: 'sort' was not declared in this scope; did you mean 'short'?
62 | sort(A.begin(), A.end());
| ^~~~
| short
main.cpp:80:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int j = 0; j < C.size(); j++){
| ~~^~~~~~~~~~
main.cpp:103:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
103 | for(int i = 0; i < A.size(); i++) s.insert(A[i].first);
| ~~^~~~~~~~~~
main.cpp:109:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
109 | for(int i = 0; i < B.size(); i++){
| ~~^~~~~~~~~~
main.cpp:131:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for(int j = 0; j < C.size(); j++){
| ~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !