Pagini recente » Borderou de evaluare (job #3158418) | Borderou de evaluare (job #3127414) | Borderou de evaluare (job #2616856) | Borderou de evaluare (job #1807916) | Borderou de evaluare (job #2792449)
Borderou de evaluare (job #2792449)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::DFS(int, std::vector<int>&)':
main.cpp:47:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int i = 0; i<Ad[node].size(); ++i)
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::BFS(int, std::vector<int>&)':
main.cpp:74:25: 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[parent].size(); ++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:67:17: warning: unused variable 'distance' [-Wunused-variable]
67 | int parent, distance;
| ^~~~~~~~
main.cpp: In member function 'void Graph::topSortDFS(int, std::vector<int>&, std::stack<int>&)':
main.cpp:94:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for(int i = 0; i<Ad[node].size(); ++i)
| ~^~~~~~~~~~~~~~~~
main.cpp: In function 'void HavelHakimi()':
main.cpp:127:21: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
127 | if(v.size() < val){
| ~~~~~~~~~^~~~~
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:150:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | for(int i = 0; i<Ad[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printSCC()':
main.cpp:191:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
191 | for(int i = 0; i<scc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:192:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
192 | 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:201:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
201 | for(int i = 0; i<Ad[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::printBCC()':
main.cpp:241:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
241 | for(int i = 0; i<bcc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:242:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
242 | for(int j = 0; j<bcc[i].size(); ++j)
| ~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Componente biconexe: componenta gresita | 4 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 |
5 | 1ms | 184kb | Corect | 10 |
6 | 4ms | 962kb | Corect | 10 |
7 | 13ms | 1523kb | Corect | 10 |
8 | 346ms | 26001kb | Corect | 10 |
9 | 145ms | 11677kb | Corect | 10 |
10 | 188ms | 16793kb | Corect | 10 |
Punctaj total | 94 |