Borderou de evaluare (job #3179767)

Utilizator ncralucaNegoita-Cretu Raluca-Marina ncraluca Data 4 decembrie 2023 10:29:00
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: In function 'void Reuneste(int, int)': main.cpp:35:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for (int i = 1; i <= r.size(); i++) { | ~~^~~~~~~~~~~ main.cpp: At global scope: main.cpp:46:1: error: ISO C++ forbids declaration of 'Kruskal' with no type [-fpermissive] 46 | Kruskal() | ^~~~~~~ main.cpp: In function 'int Kruskal()': main.cpp:69:1: warning: no return statement in function returning non-void [-Wreturn-type] 69 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?