Pagini recente » Borderou de evaluare (job #221111) | Borderou de evaluare (job #1502158) | Cod sursa (job #2874478) | Borderou de evaluare (job #1960198) | Borderou de evaluare (job #2796572)
Borderou de evaluare (job #2796572)
Raport evaluator
Compilare:
main.cpp: In constructor 'Graph::Graph(int)':
main.cpp:37:9: warning: 'Graph::index' will be initialized after [-Wreorder]
37 | int index;
| ^~~~~
main.cpp:33:40: warning: 'std::vector<int> Graph::degrees' [-Wreorder]
33 | vector<int> lowest, level, father, degrees;
| ^~~~~~~
main.cpp:47:5: warning: when initialized here [-Wreorder]
47 | Graph(int nr_noduri):n(nr_noduri), la(nr_noduri+1), componente_biconexe(0), componente_tconexe(0), lowest(0), level(0), father(0), onstack(0), index(0), degrees(0){}
| ^~~~~
main.cpp: In member function 'void Graph::print_comp_biconexe_udg(std::ostream&)':
main.cpp:217:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
217 | for(int i=1;i<componenta.size();++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Graph::print_APM_Kruskal(std::ostream&, std::vector<Weigthed_Edge>&, int)':
main.cpp:412:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Weigthed_Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
412 | while(i<edges.size() && nr_chosen<nn-1)
| ~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:449:13: warning: unused variable 'x' [-Wunused-variable]
449 | int n,m,x;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 1ms | 184kb | Corect | 10 |
5 | 1ms | 184kb | Corect | 10 |
6 | 117ms | 2453kb | Corect | 10 |
7 | 215ms | 6631kb | Corect | 10 |
8 | 46ms | 1138kb | Corect | 10 |
9 | 74ms | 1146kb | Corect | 10 |
10 | 184ms | 4308kb | Corect | 10 |
Punctaj total | 100 |