Borderou de evaluare (job #3159376)

Utilizator sebigabiSebastian Itu sebigabi Data 21 octombrie 2023 10:41:49
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:1: error: expected initializer before 'int' 8 | int sef(int x) | ^~~ main.cpp: In function 'void unire(int, int)': main.cpp:16:20: error: 'sef' was not declared in this scope; did you mean 'sefx'? 16 | int sefx = sef(x); | ^~~ | sefx main.cpp:18:9: error: 'tata' was not declared in this scope 18 | tata[sefy] = sefx; | ^~~~ main.cpp: In function 'int main()': main.cpp:35:28: error: 'sef' was not declared in this scope 35 | if(sef(x) == sef(y)) | ^~~ Non zero exit status: 1

Ceva nu functioneaza?