Borderou de evaluare (job #3320553)

Utilizator LucaSerbanLuca Serban LucaSerban Data 6 noiembrie 2025 13:51:17
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 Kruskal()': main.cpp:71:9: warning: statement has no effect [-Wunused-value] 71 | nrm; | ^~~ main.cpp:83:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 83 | int main() | ^~ main.cpp:83:9: note: remove parentheses to default-initialize a variable 83 | int main() | ^~ | -- main.cpp:83:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:84:1: error: a function-definition is not allowed here before '{' token 84 | { | ^ main.cpp:90:2: error: expected '}' at end of input 90 | } | ^ main.cpp:50:1: note: to match this '{' 50 | { | ^ Non zero exit status: 1

Ceva nu functioneaza?