Borderou de evaluare (job #3275410)
Utilizator | Data | 10 februarie 2025 14:14:41 | |
---|---|---|---|
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 getFather(int)':
main.cpp:67:40: warning: pointer to a function used in arithmetic [-Wpointer-arith]
67 | father[x] = getFather[father[x]];
| ^
main.cpp:67:40: error: invalid conversion from 'int (*)(int)' to 'int' [-fpermissive]
67 | father[x] = getFather[father[x]];
| ~~~~~~~~~~~~~~~~~~~^
| |
| int (*)(int)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !