Borderou de evaluare (job #3161570)
Utilizator | Data | 27 octombrie 2023 15:14:39 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:26:19: error: 'y' has not been declared
26 | void Unite(int x, y)
| ^
main.cpp: In function 'void Unite(int, int)':
main.cpp:28:17: error: 'y' was not declared in this scope
28 | if(r[x] > r[y])
| ^
main.cpp:34:18: error: 'y' was not declared in this scope
34 | if(r[x] == r[y]) r[y]++;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !