Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2803954)
| Utilizator | Data | 20 noiembrie 2021 17:37:42 | |
|---|---|---|---|
| Problema | Arbore partial de cost minim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::afisare(std::ostream&)':
main.cpp:93:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | for (int j = 0; j < listaAd[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::BFS(std::ostream&, int)':
main.cpp:118:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for (int i = 0; i < listaAd[S].size(); i++) ///parcurgem vecinii nodului curent
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DoDfs(int, std::vector<int>&)':
main.cpp:137:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
137 | for (int i = 0; i < listaAd[nod].size(); i++) ///parcurgem vecinii nodului curent
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortareTopologica(std::ostream&, int*)':
main.cpp:173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | for (int i = 0; i < listaAd[nod_curent].size(); i++) ///parcurgem vecinii
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:181:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
181 | for (int i=0; i < rez.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp: In member function 'int Graf::existaGrafHH(std::vector<int>&, int)':
main.cpp:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
196 | if (nr > v.size()) ///daca gradul este mai mare decat numarul de elemente ramase
| ~~~^~~~~~~~~~
main.cpp: In member function 'void Graf::dfs1(int, std::vector<int>&, std::stack<int>&)':
main.cpp:219:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
219 | for (int i = 0; i < listaAd[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs2(int, std::vector<int>&, std::vector<std::vector<int> >, std::vector<std::vector<int> >&, std::vector<int>&)':
main.cpp:232:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
232 | for (int i = 0; i < listaTr[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::ctc(std::vector<int>, std::stack<int>, std::vector<std::vector<int> >, std::vector<int>, std::ostream&)':
main.cpp:262:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
262 | for (int i = 0; i < rez.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp:266:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
266 | for (int j = 0; j < rez[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DfsMuchiiCritice(int, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&, std::ostream&)':
main.cpp:280:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
280 | for (int i = 0; i < listaAd[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void problemaAPMKruskal()':
main.cpp:619:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
619 | for (int i = 0; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 1ms | 188kb | Corect | 10 |
| 2 | 1ms | 184kb | Corect | 10 |
| 3 | 2ms | 184kb | Corect | 10 |
| 4 | 1ms | 184kb | Corect | 10 |
| 5 | 1ms | 192kb | Corect | 10 |
| 6 | 433ms | 22986kb | Corect | 10 |
| 7 | 745ms | 43995kb | Corect | 10 |
| 8 | 284ms | 8785kb | Corect | 10 |
| 9 | 312ms | 9687kb | Corect | 10 |
| 10 | 681ms | 37752kb | Corect | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
