Pagini recente » Borderou de evaluare (job #2778708) | Borderou de evaluare (job #2880576) | Borderou de evaluare (job #4666) | Borderou de evaluare (job #361428) | Borderou de evaluare (job #2791188)
Borderou de evaluare (job #2791188)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:150:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:179:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
179 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:215:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
215 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:218:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
218 | for(int i = 0; i < dg.size(); ++i)
| ~~^~~~~~~~~~~
main.cpp: In member function 'void Graph::df(int, bool*, int*, int*, std::vector<std::vector<int> >)':
main.cpp:238:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
238 | for(int i = 0; i < adlist[node].size(); ++i) //for each neighbour
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:264:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
264 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:302:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
302 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:385:9: warning: unused variable 'i' [-Wunused-variable]
385 | int i, first, n, m;
| ^
main.cpp:385:12: warning: unused variable 'first' [-Wunused-variable]
385 | int i, first, n, m;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
2 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
3 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
4 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
5 | 4ms | 1687kb | Componente biconexe: numar gresit | 0 |
6 | 1ms | 184kb | Killed by Signal 11 | 0 |
7 | 1ms | 184kb | Killed by Signal 11 | 0 |
8 | 1ms | 184kb | Killed by Signal 11 | 0 |
9 | 10ms | 184kb | Killed by Signal 11 | 0 |
10 | 1ms | 184kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |