Borderou de evaluare (job #3317637)

Utilizator androcaOprea Andrei androca Data 24 octombrie 2025 18:02:18
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:26:17: error: 'cin' was not declared in this scope 26 | cin >> n >> m; | ^~~ main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | using namespace std; main.cpp:30:49: error: 'unire' was not declared in this scope; did you mean 'uni'? 30 | unire(x, y); | ^~~~~ | uni main.cpp:32:53: error: 'boss' was not declared in this scope; did you mean 'bos'? 32 | if (boss(x) == boss(y)) | ^~~~ | bos main.cpp:33:65: error: 'cout' was not declared in this scope 33 | cout << "DA" << '\n'; | ^~~~ main.cpp:33:65: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:35:65: error: 'cout' was not declared in this scope 35 | cout << "NU" << '\n'; | ^~~~ main.cpp:35:65: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:38:2: error: expected '}' at end of input 38 | } | ^ main.cpp:22:1: note: to match this '{' 22 | { | ^ Non zero exit status: 1

Ceva nu functioneaza?