Pagini recente » Borderou de evaluare (job #617321) | Borderou de evaluare (job #3045366) | Borderou de evaluare (job #2593072) | Borderou de evaluare (job #2549879) | Borderou de evaluare (job #2793227)
Borderou de evaluare (job #2793227)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf_Neorientat::dfs_biconex_stiva(int, int*, int*, int*, std::stack<std::pair<int, int> >&, std::set<int, std::less<int> >&, int*)':
main.cpp:119:22: 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=1;i<=lista_adiacenta[nod].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:115:9: warning: unused variable 'nr_noduri2' [-Wunused-variable]
115 | int nr_noduri2 = Graf_Neorientat::get_nr_noduri();
| ^~~~~~~~~~
main.cpp: In member function 'void Graf_Neorientat::dfs_biconex(int, int*, int*, int*, int, int*, std::stack<std::pair<int, int> >&, std::unordered_map<int, std::vector<int> >&)':
main.cpp:156:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | for(int i=1;i<=lista_adiacenta[nod].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf_Neorientat::begin_biconex()':
main.cpp:191:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
191 | for(int j=0;j<lista_fii[i].size();j++)
| ~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual void Graf_Neorientat::bfs(int)':
main.cpp:252:26: 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=1;i<=lista_adiacenta[front_queue].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf_Neorientat::dfs(int, int*)':
main.cpp:273:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
273 | for(int i=1;i<=lista_adiacenta[nod].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graf_Neorientat& Graf_Neorientat::operator=(const Graf_Neorientat&)':
main.cpp:327:5: warning: value computed is not used [-Wunused-value]
327 | *this;
| ^~~~~
main.cpp:327:5: warning: statement has no effect [-Wunused-value]
main.cpp:328:1: warning: no return statement in function returning non-void [-Wreturn-type]
327 | *this;
+++ |+ return *this;
328 | }
| ^
main.cpp: In member function 'virtual void Graf_Orientat::bfs(int)':
main.cpp:398:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
398 | for(int i=1;i<=lista_adiacenta[front_queue].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf_Orientat::dfs(int, int*)':
main.cpp:421:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
421 | for(int i=1;i<=lista_adiacenta[nod].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graf_Orientat& Graf_Orientat::operator=(const Graf_Orientat&)':
main.cpp:474:5: warning: value computed is not used [-Wunused-value]
474 | *this;
| ^~~~~
main.cpp:474:5: warning: statement has no effect [-Wunused-value]
main.cpp:475:1: warning: no return statement in function returning non-void [-Wreturn-type]
474 | *this;
+++ |+ return *this;
475 | }
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 7ms | 1355kb | Corect | 10 |
5 | 20ms | 4497kb | Corect | 10 |
6 | 105ms | 101888kb | Corect | 10 |
7 | 400ms | 344956kb | Time limit exceeded | 0 |
8 | 194ms | 10473kb | Killed by Signal 11 | 0 |
9 | 117ms | 6983kb | Killed by Signal 11 | 0 |
10 | 173ms | 10526kb | Killed by Signal 11 | 0 |
Punctaj total | 60 |