Pagini recente » Borderou de evaluare (job #1667139) | Borderou de evaluare (job #2825154) | Borderou de evaluare (job #3216345) | Borderou de evaluare (job #179264) | Borderou de evaluare (job #2822257)
Borderou de evaluare (job #2822257)
Raport evaluator
Compilare:
main.cpp: In member function 'int graph::connectedComponents()':
main.cpp:93:9: warning: unused variable 'x' [-Wunused-variable]
93 | int x, y, ct = 0;
| ^
main.cpp:93:12: warning: unused variable 'y' [-Wunused-variable]
93 | int x, y, ct = 0;
| ^
main.cpp: In member function 'void graph::dfs(int, std::vector<int>&)':
main.cpp:112:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | for(int i = 0; i < G[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> graph::minimumDistance(int)':
main.cpp:136:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
136 | for(int i = 0; i < G[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::dfsBiconnected(int, int, std::vector<int>, std::vector<int>, std::vector<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:157:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for(int i = 0; i < G[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > graph::biconnectedComponents()':
main.cpp:202:9: warning: unused variable 'x' [-Wunused-variable]
202 | int x, y, ct;
| ^
main.cpp:202:12: warning: unused variable 'y' [-Wunused-variable]
202 | int x, y, ct;
| ^
main.cpp: In member function 'void graph::dfsSccDirect(int, std::vector<int>&, std::stack<int>&)':
main.cpp:224:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
224 | for(int i = 0; i < G[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::dfsSccReverse(int, std::vector<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:240:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
240 | for(int i = 0; i < reverseG[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > graph::scc()':
main.cpp:263:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
263 | for(int j = 0; j < G[i].size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp:252:9: warning: unused variable 'x' [-Wunused-variable]
252 | int x, y, ct;
| ^
main.cpp:252:12: warning: unused variable 'y' [-Wunused-variable]
252 | int x, y, ct;
| ^
main.cpp: In member function 'void graph::dfsTopo(int, std::vector<int>&, std::stack<int>&)':
main.cpp:291:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
291 | for(int i = 0; i < G[node].size(); ++i)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> graph::topologicalSort()':
main.cpp:305:9: warning: unused variable 'x' [-Wunused-variable]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Raspuns gresit | 0 |
2 | 2ms | 184kb | Raspuns gresit | 0 |
3 | 2ms | 184kb | Raspuns gresit | 0 |
4 | 2ms | 200kb | Raspuns gresit | 0 |
5 | 6ms | 450kb | Raspuns gresit | 0 |
6 | 16ms | 1282kb | Raspuns gresit | 0 |
7 | 35ms | 2777kb | Raspuns gresit | 0 |
8 | 49ms | 3837kb | Raspuns gresit | 0 |
9 | 111ms | 6975kb | Raspuns gresit | 0 |
10 | 163ms | 9007kb | Raspuns gresit | 0 |
Punctaj total | 0 |