Borderou de evaluare (job #2793413)
| Utilizator | Data | 3 noiembrie 2021 17:06:35 | |
|---|---|---|---|
| Problema | Arbore partial de cost minim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:16:22: error: too many initializers for 'bool [0]'
16 | bool visT[0] = {false};
| ^
main.cpp:17:16: error: too many initializers for 'int [0]'
17 | int ctc[0] = {0};
| ^
main.cpp: In member function 'virtual long long int OrientedGraph::getCconexe()':
main.cpp:104:45: warning: no return statement in function returning non-void [-Wreturn-type]
104 | virtual long long getCconexe() override{}
| ^
main.cpp: In member function 'virtual void OrientedGraph::Kosaraju()':
main.cpp:205:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
205 | for(int i = 0; i < cnnt; ++i)
| ~~^~~~~~
main.cpp: In member function 'void UnorientedGraph::Kruskal()':
main.cpp:266:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
266 | for(;i < edges.size() && cnt <= muchii - 1; ++i){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'virtual void UnorientedGraph::dfsBCC(int)':
main.cpp:308:14: warning: unused variable 'copii' [-Wunused-variable]
308 | unsigned copii = 0;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:351:15: warning: unused variable 'S' [-Wunused-variable]
351 | int N, M, S;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
