Borderou de evaluare (job #3330060)
| Utilizator | Data | 17 decembrie 2025 12:03:33 | |
|---|---|---|---|
| Problema | Paduri de multimi disjuncte | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:25:24: error: 'node_B' has not been declared
25 | void unite(int node_A, node_B) {
| ^~~~~~
main.cpp: In function 'void unite(int, int)':
main.cpp:26:28: error: 'node_B' was not declared in this scope; did you mean 'node_A'?
26 | if(rang[node_A] > rang[node_B]) {
| ^~~~~~
| node_A
main.cpp: In function 'int find_R(int)':
main.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type]
23 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
