Borderou de evaluare (job #2795332)
Raport evaluator
Compilare:
main.cpp: In constructor 'Graf_orientat::Graf_orientat(int, int, std::vector<std::vector<int> >)':
main.cpp:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int i = 1; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:36:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual void Graf_orientat::afisare(std::ostream&)':
main.cpp:63:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for (int i = 1; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:64:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf_orientat::BFS(int)':
main.cpp:95:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | for (int i = 0; i < Lista_de_adiacenta[primul_nod_din_coada].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In constructor 'Graf_neorientat::Graf_neorientat(int, int, std::vector<std::vector<int> >)':
main.cpp:135:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
135 | for (int i = 1; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:136:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
136 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual void Graf_neorientat::afisare(std::ostream&)':
main.cpp:170:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
170 | for (int i = 1; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:171:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
171 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf_neorientat::DFS(int, std::vector<int>&)':
main.cpp:197:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | for (int i = 0; i < Lista_de_adiacenta[Nod_start].size(); i++)///parcurgem vecinii nodului
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf_neorientat::Afla_noduri_critice(int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
main.cpp:228:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
228 | for (int i = 0; i < Lista_de_adiacenta[Nod_start].size(); i++) {///parcurgem vecinii nodului
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf_neorientat::Parcurgere_comp_biconexe(int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::stack<std::pair<int, int> >&, std::vector<std::vector<std::pair<int, int> > >&, int&)':
main.cpp:254:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
254 | for (int i = 0; i < Lista_de_adiacenta[Nod_start].size(); i++) {///parcurgem vecinii nodului
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf_neorientat::ANC()':
main.cpp:308:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
308 | for (int i = 1; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<std::pair<int, int> > > Graf_neorientat::Componente_biconexe(int&)':
main.cpp:323:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 212kb | Corect | 10 |
5 | 12ms | 450kb | Corect | 10 |
6 | 8ms | 1126kb | Corect | 10 |
7 | 16ms | 1847kb | Corect | 10 |
8 | 402ms | 24166kb | Time limit exceeded | 0 |
9 | 168ms | 12869kb | Corect | 10 |
10 | 366ms | 18165kb | Corect | 10 |
Punctaj total | 90 |