Pagini recente » Borderou de evaluare (job #1359249) | Borderou de evaluare (job #2448846) | Numere | Borderou de evaluare (job #454710) | Borderou de evaluare (job #2801665)
Borderou de evaluare (job #2801665)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::DFS(int, std::vector<int>&)':
main.cpp:74:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(int i = 0; i<Ad[node].size(); ++i)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::BFS(int, std::vector<int>&)':
main.cpp:101:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for(int i = 0; i<Ad[parent].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:94:17: warning: unused variable 'distance' [-Wunused-variable]
94 | int parent, distance;
| ^~~~~~~~
main.cpp: In member function 'void Graph::topSortDFS(int, std::vector<int>&, std::stack<int>&)':
main.cpp:121:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
121 | for(int i = 0; i<Ad[node].size(); ++i)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::dfsSCC(int, int&, std::vector<int>&, std::vector<int>&, std::vector<bool>&, std::stack<int>&, std::vector<std::vector<int> >&)':
main.cpp:281:21: 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<Ad[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printSCC()':
main.cpp:322:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
322 | for(int i = 0; i<scc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:323:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
323 | for(int j = 0; j<scc[i].size(); ++j)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::dfsBCC(int, int, int&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:332:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
332 | for(int i = 0; i<Ad[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printBCC()':
main.cpp:372:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
372 | for(int i = 0; i<bcc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:373:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
373 | for(int j = 0; j<bcc[i].size(); ++j)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::getDistances(bool&, std::vector<int>&)':
main.cpp:392:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
392 | for(int i = 0; i<Ad[currentNode].size(); ++i){
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void HavelHakimi()':
main.cpp:172:25: warning: 'maxim' may be used uninitialized in this function [-Wmaybe-uninitialized]
172 | while(maxim > 0 && val > 0){
| ~~~~~~~~~~^~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 184kb | OK | 5 | 5 |
| 2 | 1ms | 184kb | OK | 5 | 5 |
| 3 | 1ms | 184kb | OK | 5 | 5 |
| 4 | 1ms | 184kb | OK | 5 | 5 |
| 5 | 1ms | 184kb | OK | 5 | 5 |
| 6 | 1ms | 184kb | OK | 5 | 10 |
| 7 | 7ms | 307kb | OK | 5 |
| 8 | 64ms | 2609kb | OK | 5 | 15 |
| 9 | 51ms | 2490kb | OK | 5 |
| 10 | 6ms | 307kb | OK | 5 |
| 11 | 111ms | 4530kb | OK | 5 | 20 |
| 12 | 148ms | 4685kb | OK | 5 |
| 13 | 157ms | 4186kb | OK | 5 |
| 14 | 185ms | 6176kb | OK | 5 |
| 15 | 279ms | 7589kb | OK | 5 | 15 |
| 16 | 182ms | 6430kb | OK | 5 |
| 17 | 39ms | 307kb | OK | 5 |
| 18 | 325ms | 9596kb | OK | 5 | 15 |
| 19 | 337ms | 10788kb | OK | 5 |
| 20 | 33ms | 331kb | OK | 5 |
| Punctaj total | 100 |