Pagini recente » Borderou de evaluare (job #168520) | Borderou de evaluare (job #273755) | Borderou de evaluare (job #277773) | Borderou de evaluare (job #1515036) | Borderou de evaluare (job #2801503)
Borderou de evaluare (job #2801503)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::DFS(int, std::vector<int>&)':
main.cpp:56:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(int i = 0; i<Ad[node].size(); ++i)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::BFS(int, std::vector<int>&)':
main.cpp:83:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i = 0; i<Ad[parent].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:76:17: warning: unused variable 'distance' [-Wunused-variable]
76 | int parent, distance;
| ^~~~~~~~
main.cpp: In member function 'void Graph::topSortDFS(int, std::vector<int>&, std::stack<int>&)':
main.cpp:103:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
103 | 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:263:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
263 | for(int i = 0; i<Ad[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printSCC()':
main.cpp:304:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
304 | for(int i = 0; i<scc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:305:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
305 | 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:314:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
314 | for(int i = 0; i<Ad[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printBCC()':
main.cpp:354:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
354 | for(int i = 0; i<bcc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:355:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
355 | for(int j = 0; j<bcc[i].size(); ++j)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:363:9: warning: unused variable 'n' [-Wunused-variable]
363 | int n,m,x,y;
| ^
main.cpp:363:11: warning: unused variable 'm' [-Wunused-variable]
363 | int n,m,x,y;
| ^
main.cpp:363:13: warning: unused variable 'x' [-Wunused-variable]
363 | int n,m,x,y;
| ^
main.cpp:363:15: warning: unused variable 'y' [-Wunused-variable]
363 | int n,m,x,y;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 2ms | 200kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 |
5 | 2ms | 196kb | Corect | 10 |
6 | 95ms | 2310kb | Corect | 10 |
7 | 320ms | 5890kb | Corect | 10 |
8 | 33ms | 1347kb | Corect | 10 |
9 | 78ms | 1236kb | Corect | 10 |
10 | 255ms | 4014kb | Corect | 10 |
Punctaj total | 100 |