Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2806344)
| Utilizator | Data | 22 noiembrie 2021 15:54:14 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 70 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::afisare(std::ostream&)':
main.cpp:94:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int j = 0; j < listaAd[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::BFS(std::ostream&, int)':
main.cpp:119:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | 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:138:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | 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:174:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for (int i = 0; i < listaAd[nod_curent].size(); i++) ///parcurgem vecinii
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:182:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
182 | for (int i=0; i < rez.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp: In member function 'int Graf::existaGrafHH(std::vector<int>&, int)':
main.cpp:197:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | 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:220:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
220 | 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:233:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
233 | 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:263:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
263 | for (int i = 0; i < rez.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp:267:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
267 | 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:281:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
281 | for (int i = 0; i < listaAd[nod].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> GrafPonderat::dijkstra()':
main.cpp:407:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
407 | for (int i = 0; i < muchiiCuCost[nodCurent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void problemaAPMKruskal()':
main.cpp:651: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]
651 | for (int i = 0; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 188kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 6ms | 512kb | OK | 10 |
| 5 | 49ms | 3796kb | OK | 10 |
| 6 | 92ms | 5898kb | OK | 10 |
| 7 | 140ms | 10039kb | OK | 10 |
| 8 | 140ms | 12304kb | Memory limit exceeded | 0 |
| 9 | 97ms | 12304kb | Memory limit exceeded | 0 |
| 10 | 263ms | 12308kb | Memory limit exceeded | 0 |
| Punctaj total | 70 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
