Borderou de evaluare (job #2323369)
| Utilizator | Data | 19 ianuarie 2019 10:19:50 | |
|---|---|---|---|
| Problema | Arbore partial de cost minim | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void reunite(int, int)':
main.cpp:42:31: warning: pointer to a function used in arithmetic [-Wpointer-arith]
father[y] = doFather[x];
^
main.cpp:42:31: error: invalid conversion from 'int (*)(int)' to 'int' [-fpermissive]
father[y] = doFather[x];
~~~~~~~~~~^
main.cpp:47:31: warning: pointer to a function used in arithmetic [-Wpointer-arith]
father[x] = doFather[y];
^
main.cpp:47:31: error: invalid conversion from 'int (*)(int)' to 'int' [-fpermissive]
father[x] = doFather[y];
~~~~~~~~~~^
main.cpp:51:31: warning: pointer to a function used in arithmetic [-Wpointer-arith]
father[x] = doFather[y];
^
main.cpp:51:31: error: invalid conversion from 'int (*)(int)' to 'int' [-fpermissive]
father[x] = doFather[y];
~~~~~~~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
