Borderou de evaluare (job #695685)

Utilizator darrenRares Buhai darren Data 28 februarie 2012 13:54:57
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15: error: ‘bool link [262144][20]’ redeclared as different kind of symbol /usr/include/unistd.h:806: error: previous declaration of ‘int link(const char*, const char*)’ user.cpp: In function ‘void track(int, int)’: user.cpp:23: warning: pointer to a function used in arithmetic user.cpp:23: warning: pointer to a function used in arithmetic user.cpp: In function ‘int main()’: user.cpp:100: warning: pointer to a function used in arithmetic user.cpp:100: warning: pointer to a function used in arithmetic user.cpp:100: error: assignment of read-only location ‘*(link + (((unsigned int)i) + ((unsigned int)j)))’ user.cpp:100: error: cannot convert ‘bool’ to ‘int(const char*, const char*)throw ()’ in assignment user.cpp:106: warning: pointer to a function used in arithmetic user.cpp:106: warning: pointer to a function used in arithmetic user.cpp:106: error: assignment of read-only location ‘*(link + (((unsigned int)i) + ((unsigned int)k)))’ user.cpp:106: error: cannot convert ‘bool’ to ‘int(const char*, const char*)throw ()’ in assignment

Ceva nu functioneaza?