Pagini recente » Borderou de evaluare (job #463112) | Borderou de evaluare (job #2803759) | Borderou de evaluare (job #2073095) | Borderou de evaluare (job #3202945) | Borderou de evaluare (job #2800971)
Borderou de evaluare (job #2800971)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graf)':
main.cpp:105:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
105 | for(int i = 0; i < graf.listaAdiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::nrConexe()':
main.cpp:116:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for(int i = 0; i < listaAdiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::costuriBFS(int, std::ostream&)':
main.cpp:128:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
128 | for (int i = 0; i < listaAdiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortareTopologica(std::ostream&)':
main.cpp:138:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | for(int i = 0; i < listaAdiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:137:13: warning: unused variable 'nr' [-Wunused-variable]
137 | int nr = 0;
| ^~
main.cpp: In member function 'void Graf::componenteBiconexe(std::ostream&)':
main.cpp:152:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | for (int i = 0; i < listaAdiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:165:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for(int i = 0; i < muchiiCritice.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::componenteTareConexe(std::ostream&)':
main.cpp:172:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
172 | for(int i = 0; i < listaAdiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dijkstra(int, std::ostream&)':
main.cpp:208:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
208 | for(int i = 1; i < distanta.size(); i++){
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:219:25: warning: unused variable 'start' [-Wunused-variable]
219 | int noduri, muchii, start;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | Incorect | 0 |
4 | 1ms | 184kb | Incorect | 0 |
5 | 40ms | 3760kb | Incorect | 0 |
6 | 74ms | 6561kb | Incorect | 0 |
7 | 84ms | 9527kb | Incorect | 0 |
8 | 146ms | 12308kb | Memory limit exceeded | 0 |
9 | 81ms | 12304kb | Memory limit exceeded | 0 |
10 | 395ms | 12304kb | Memory limit exceeded | 0 |
Punctaj total | 0 |