Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2792857)
| Utilizator | Data | 2 noiembrie 2021 13:24:09 | |
|---|---|---|---|
| Problema | Componente biconexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 90 | ||
Raport evaluator
Compilare:
main.cpp: In constructor 'Graph::Graph(int)':
main.cpp:25:9: warning: 'Graph::index' will be initialized after [-Wreorder]
25 | int index;
| ^~~~~
main.cpp:21:40: warning: 'std::vector<int> Graph::degrees' [-Wreorder]
21 | vector<int> lowest, level, father, degrees;
| ^~~~~~~
main.cpp:35:5: warning: when initialized here [-Wreorder]
35 | 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:201:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
201 | for(int i=1;i<componenta.size();++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int get_degrees(const char*, std::vector<int>&)':
main.cpp:357:1: warning: no return statement in function returning non-void [-Wreturn-type]
357 | }
| ^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 3ms | 184kb | Corect | 10 |
| 2 | 1ms | 184kb | Corect | 10 |
| 3 | 1ms | 184kb | Corect | 10 |
| 4 | 1ms | 184kb | Corect | 10 |
| 5 | 12ms | 307kb | Corect | 10 |
| 6 | 6ms | 851kb | Corect | 10 |
| 7 | 13ms | 1400kb | Corect | 10 |
| 8 | 410ms | 19779kb | Time limit exceeded | 0 |
| 9 | 215ms | 9842kb | Corect | 10 |
| 10 | 254ms | 13668kb | Corect | 10 |
| Punctaj total | 90 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
