Pagini recente » Borderou de evaluare (job #980101) | Borderou de evaluare (job #843000) | Borderou de evaluare (job #2049594) | Borderou de evaluare (job #1025241) | Borderou de evaluare (job #2791538)
Borderou de evaluare (job #2791538)
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:392:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
392 | for(int i = 0; i < biconnected.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:453:9: warning: unused variable 'i' [-Wunused-variable]
453 | int i, first, n, m;
| ^
main.cpp:453:12: warning: unused variable 'first' [-Wunused-variable]
453 | int i, first, n, m;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 21ms | 6467kb | Componente biconexe: componenta gresita | 4 |
2 | 8ms | 6029kb | Corect | 10 |
3 | 13ms | 6467kb | Componente biconexe: componenta gresita | 4 |
4 | 16ms | 6553kb | Componente biconexe: componenta gresita | 4 |
5 | 11ms | 6631kb | Componente biconexe: componenta gresita | 4 |
6 | 26ms | 7266kb | Componente biconexe: componenta gresita | 4 |
7 | 56ms | 7991kb | Componente biconexe: componenta gresita | 4 |
8 | 397ms | 38559kb | Componente biconexe: componenta gresita | 4 |
9 | 177ms | 18649kb | Componente biconexe: componenta gresita | 4 |
10 | 260ms | 23625kb | Componente biconexe: componenta gresita | 4 |
Punctaj total | 46 |