Pagini recente » Borderou de evaluare (job #1396305) | Borderou de evaluare (job #886371) | Borderou de evaluare (job #1093848) | Borderou de evaluare (job #118870) | Borderou de evaluare (job #2791563)
Borderou de evaluare (job #2791563)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:77:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:151:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
151 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:180:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
180 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:216:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
216 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:219:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
219 | for(int i = 0; i < dg.size(); ++i)
| ~~^~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:281:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
281 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:407:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
407 | for(int i = 0; i < biconnected.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:518:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
518 | for(int i = 0; i < sol.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp:520:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
520 | for(int j = 0; j < sol[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~
main.cpp:468:9: warning: unused variable 'i' [-Wunused-variable]
468 | int i, first, n, m;
| ^
main.cpp:468:12: warning: unused variable 'first' [-Wunused-variable]
468 | int i, first, n, m;
| ^~~~~
main.cpp:468:22: warning: unused variable 'm' [-Wunused-variable]
468 | 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 | 2ms | 184kb | Componente biconexe: numar gresit | 0 |
| 5 | 2ms | 184kb | Componente biconexe: numar gresit | 0 |
| 6 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
| 7 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
| 8 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
| 9 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
| 10 | 1ms | 184kb | Componente biconexe: numar gresit | 0 |
| Punctaj total | 0 |