Borderou de evaluare (job #2830572)
Utilizator | Data | 10 ianuarie 2022 01:18:04 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:25:43: error: redeclaration of 'std::vector<std::vector<std::pair<int, int> > > lista_ad'
25 | vector< vector<pair<int, int> > > lista_ad(n+1);
| ^~~~~~~~
main.cpp:17:43: note: 'std::vector<std::vector<std::pair<int, int> > > lista_ad' previously declared here
17 | vector< vector<pair<int, int> > > lista_ad;
| ^~~~~~~~
main.cpp:58: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]
58 | for(int i = 0; i < lista_ad[curr].size();i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !