Borderou de evaluare (job #2807133)
Utilizator | Data | 23 noiembrie 2021 14:33:42 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'std::vector<std::vector<int> > grafMare::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:73:25: error: incompatible types in assignment of 'std::vector<int>' to 'int [100001]'
73 | first_value = vector<int>(n);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:74:21: error: incompatible types in assignment of 'std::vector<int>' to 'int [100001]'
74 | min_pos = vector<int>(n);
| ~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool grafMare::helsinki()':
main.cpp:93:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | if(x>hel.size())//destule elem
| ~^~~~~~~~~~~
main.cpp: In member function 'void grafMare::citireDFS()':
main.cpp:276:9: warning: unused variable 'start' [-Wunused-variable]
276 | int start=1;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !