Borderou de evaluare (job #2039727)

Utilizator DavidLDavid Lauran DavidL Data 14 octombrie 2017 20:34:55
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void unite(int, int)’: user.cpp:38:19: warning: pointer to a function used in arithmetic [-Wpointer-arith] parA=parinte[A]; ^ user.cpp:38:19: error: invalid conversion from ‘int (*)(int)’ to ‘int’ [-fpermissive] user.cpp:39:19: warning: pointer to a function used in arithmetic [-Wpointer-arith] parB=parinte[B]; ^ user.cpp:39:19: error: invalid conversion from ‘int (*)(int)’ to ‘int’ [-fpermissive] user.cpp:40:17: warning: pointer to a function used in arithmetic [-Wpointer-arith] parinte[parA]=parB; ^ user.cpp:40:18: error: assignment of read-only location ‘*(parinte + ((sizetype)parA))’ parinte[parA]=parB; ^ user.cpp:40:18: error: cannot convert ‘int’ to ‘int(int)’ in assignment user.cpp: In function ‘int main()’: user.cpp:67:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<M.size(); j++) ^

Ceva nu functioneaza?