Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2807367)
| Utilizator | Data | 23 noiembrie 2021 18:37:12 | |
|---|---|---|---|
| Problema | Algoritmul Bellman-Ford | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In constructor 'Graf_orientat::Graf_orientat(int, int, std::vector<std::vector<int> >, std::vector<std::vector<int> >)':
main.cpp:66:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:67:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:76:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:77:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | 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:99:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for (int i = 1; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:101:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In constructor 'Graf_neorientat::Graf_neorientat(int, int, std::vector<std::vector<int> >, std::vector<std::vector<int> >)':
main.cpp:162:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:163:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
163 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:172:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
172 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:173:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | 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:204:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
204 | for (int i = 0; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:206:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
206 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf_orientat::BFS(int) const':
main.cpp:237:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
237 | for (int i = 0; i < Lista_de_adiacenta[primul_nod_din_coada].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf_neorientat::DFS(int, std::vector<int>&) const':
main.cpp:252:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
252 | 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>&) const':
main.cpp:284:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 184kb | OK | 5 | 5 |
| 2 | 2ms | 184kb | OK | 5 | 5 |
| 3 | 2ms | 184kb | OK | 5 | 5 |
| 4 | 2ms | 184kb | OK | 5 | 5 |
| 5 | 2ms | 184kb | OK | 5 | 5 |
| 6 | 1ms | 184kb | OK | 5 | 10 |
| 7 | 2ms | 184kb | OK | 5 | |
| 8 | 54ms | 5971kb | OK | 5 | 15 |
| 9 | 78ms | 4206kb | OK | 5 | |
| 10 | 6ms | 528kb | OK | 5 | |
| 11 | 101ms | 10276kb | OK | 5 | 20 |
| 12 | 178ms | 7442kb | OK | 5 | |
| 13 | 144ms | 7577kb | OK | 5 | |
| 14 | 249ms | 9834kb | OK | 5 | |
| 15 | 321ms | 12230kb | OK | 5 | 15 |
| 16 | 268ms | 10842kb | OK | 5 | |
| 17 | 6ms | 421kb | OK | 5 | |
| 18 | 387ms | 16666kb | OK | 5 | 15 |
| 19 | 459ms | 18120kb | OK | 5 | |
| 20 | 6ms | 425kb | OK | 5 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
