Borderou de evaluare (job #238552)

Utilizator tvladTataranu Vlad tvlad Data 2 ianuarie 2009 16:07:51
Problema Turnuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: user.cpp:11: error: 'std::vector<int, std::allocator<int> > link [7]' redeclared as different kind of symbol /usr/include/unistd.h:757: error: previous declaration of 'int link(const char*, const char*)' user.cpp: In function 'int main()': user.cpp:38: error: pointer to a function used in arithmetic user.cpp:38: error: request for member 'push_back' in '*(((int (*)(const char*, const char*)throw ())((unsigned int)st.std::vector<_Tp, _Alloc>::back [with _Tp = int, _Alloc = std::allocator<int>]())) + link)', which is of non-class type 'int ()(const char*, const char*)throw ()' user.cpp:44: error: pointer to a function used in arithmetic user.cpp:44: error: request for member 'begin' in '*(((int (*)(const char*, const char*)throw ())((unsigned int)i)) + link)', which is of non-class type 'int ()(const char*, const char*)throw ()' user.cpp:44: error: pointer to a function used in arithmetic user.cpp:44: error: request for member 'end' in '*(((int (*)(const char*, const char*)throw ())((unsigned int)i)) + link)', which is of non-class type 'int ()(const char*, const char*)throw ()'

Ceva nu functioneaza?