Pagini recente » Borderou de evaluare (job #1209121) | Borderou de evaluare (job #306069) | Borderou de evaluare (job #496675) | Borderou de evaluare (job #290749) | Borderou de evaluare (job #2791794)
Borderou de evaluare (job #2791794)
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:479:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
479 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:482:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
482 | for(int j = 0 ; j < comp.size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:528:9: warning: unused variable 'i' [-Wunused-variable]
528 | int i, first, n, m;
| ^
main.cpp:528:12: warning: unused variable 'first' [-Wunused-variable]
528 | int i, first, n, m;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 23ms | 7913kb | Corect | 10 |
2 | 13ms | 7872kb | Corect | 10 |
3 | 15ms | 7983kb | Corect | 10 |
4 | 13ms | 8007kb | Corect | 10 |
5 | 33ms | 8134kb | Componente biconexe: numar gresit | 0 |
6 | 20ms | 8425kb | Componente biconexe: numar gresit | 0 |
7 | 29ms | 8925kb | Componente biconexe: numar gresit | 0 |
8 | 402ms | 27435kb | Time limit exceeded | 0 |
9 | 251ms | 15839kb | Componente biconexe: numar gresit | 0 |
10 | 200ms | 19488kb | Componente biconexe: numar gresit | 0 |
Punctaj total | 40 |