Borderou de evaluare (job #1579701)

Utilizator adiXMGemene Adrian adiXM Data 24 ianuarie 2016 23:15:57
Problema Motel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:27:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<In[i].size();i++) ^ user.cpp:29:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<Out[i].size();i++) ^ user.cpp:30:53: error: no matching function for call to ‘find(std::vector<int>::iterator, std::vector<int>::iterator, __gnu_cxx::__alloc_traits<std::allocator<int> >::value_type&)’ v.erase(find(v.begin(),v.end(),Out[i][j])); ^ user.cpp:30:53: note: candidate is: In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0, from /usr/include/c++/4.8/bits/basic_ios.h:37, from /usr/include/c++/4.8/ios:44, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/c++/4.8/bits/streambuf_iterator.h:369:5: note: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&) find(istreambuf_iterator<_CharT> __first, ^ /usr/include/c++/4.8/bits/streambuf_iterator.h:369:5: note: template argument deduction/substitution failed: user.cpp:30:53: note: ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ v.erase(find(v.begin(),v.end(),Out[i][j])); ^ user.cpp:31:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<L[i].size();i++) ^ user.cpp:35:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=0;k<v.size();k++) ^ user.cpp:47:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<In[i].size();i++) ^

Ceva nu functioneaza?