Pagini recente » Borderou de evaluare (job #1996796) | Borderou de evaluare (job #2635049) | Borderou de evaluare (job #1386571) | Borderou de evaluare (job #2590501) | Borderou de evaluare (job #2806712)
Borderou de evaluare (job #2806712)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::DFS(int, std::vector<int>&)':
main.cpp:126:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | for(int i = 0; i < this->graph_adjacency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::print_Biconnected_Components(char*)':
main.cpp:143:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unordered_set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
143 | for(int i=0; i<biconnected_components.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::print_Strongly_Connected_Components(char*)':
main.cpp:160:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
160 | for(int i = 0; i < strongly_connected_components.size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:162:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | for(int j = 0; j < strongly_connected_components[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::create_Minimum_Paths(int)':
main.cpp:221:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
221 | for(int i=0; i < this->graph_adjacency_list[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::DFSBiconnected(int, int, int, std::vector<int>&, std::vector<int>&, std::vector<std::unordered_set<int> >&, std::stack<std::pair<int, int> >&)':
main.cpp:299:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
299 | for(int i=0; i<this->graph_adjacency_list[nodCurent].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::tarjan(int, std::stack<int>&, std::vector<int>&, std::vector<int>&, int&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:397:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
397 | for(int i=0; i<this->graph_adjacency_list[nod].size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:471:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
471 | g.read_Oriented_Graph_Without_Costs("../ctc.in");
| ^~~~~~~~~~~
main.cpp:473:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
473 | g.print_Strongly_Connected_Components("../ctc.out");
| ^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Corect | 10 | 30 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 | 30 |
5 | 6ms | 331kb | Corect | 10 |
6 | 16ms | 1142kb | Corect | 10 |
7 | 25ms | 2060kb | Corect | 10 | 30 |
8 | 83ms | 4796kb | Corect | 10 |
9 | 173ms | 10121kb | Corect | 10 |
10 | 216ms | 16461kb | Corect | 10 | 10 |
Punctaj total | 100 |