Borderou de evaluare (job #3161706)
Utilizator | Niculae Adrian-Ioan xxUnrealUxx | Data | 27 octombrie 2023 19:41:15 |
---|---|---|---|
Problema | Curcubeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Unite(int, int)':
main.cpp:14:8: error: 'r' was not declared in this scope
14 | if(r[x] > r[y])
| ^
main.cpp:19:8: error: 'r' was not declared in this scope
19 | if(r[x] == r[y]) r[y]++;
| ^
main.cpp: In function 'int main()':
main.cpp:25:5: error: 'r' was not declared in this scope
25 | r[1] = 1;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !