.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 482283

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 482283
Concurent: Flavius Boian (flavius boian)Progres: evaluare completă
Problemă: subsecventePunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 26 iul 2016, 02:41
Mesaj evaluator:
subsecvente.cpp:1: error: stray '#' in program subsecvente.cpp:1: error: expected unqualified-id before '?' token In file included from /usr/include/c++/4.4/string:53, from subsecvente.cpp:2: /usr/include/c++/4.4/bits/basic_string.h:2242: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.h:2243: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.h:2243: error: 'typename __gnu_cxx::__enable_if<std::__is_char::__value, bool>::__type std::operator==(const int&, const int&)' must have an argument of class or enumerated type /usr/include/c++/4.4/bits/basic_string.h:2488: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.h:2488: error: template-id 'operator>><>' for 'std::basic_istream<char, std::char_traits<char> >& std::operator>>(std::basic_istream<char, std::char_traits<char> >&, int&)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.h:2547: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.h:2547: error: template-id 'getline<>' for 'std::basic_istream<char, std::char_traits<char> >& std::getline(std::basic_istream<char, std::char_traits<char> >&, int&, char)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.h:2553: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.h:2553: error: template-id 'getline<>' for 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::getline(std::basic_istream<wchar_t, std::char_traits<wchar_t> >&, int&, wchar_t)' does not match any template declaration In file included from /usr/include/c++/4.4/string:56, from subsecvente.cpp:2: /usr/include/c++/4.4/bits/basic_string.tcc:1111: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.tcc:1114: error: 'string' has not been declared /usr/include/c++/4.4/bits/basic_string.tcc:1114: error: template-id 'operator>><>' for 'std::basic_istream<char, std::char_traits<char> >& std::operator>>(std::basic_istream<char, std::char_traits<char> >&, int&)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1117: error: expected ',' or '...' before '&' token /usr/include/c++/4.4/bits/basic_string.tcc:1117: error: template-id 'operator<< <>' for 'std::basic_ostream<char, std::char_traits<char> >& std::operator<<(std::basic_ostream<char, std::char_traits<char> >&, int)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1120: error: 'string' has not been declared /usr/include/c++/4.4/bits/basic_string.tcc:1120: error: template-id 'getline<>' for 'std::basic_istream<char, std::char_traits<char> >& std::getline(std::basic_istream<char, std::char_traits<char> >&, int&, char)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1123: error: 'string' has not been declared /usr/include/c++/4.4/bits/basic_string.tcc:1123: error: template-id 'getline<>' for 'std::basic_istream<char, std::char_traits<char> >& std::getline(std::basic_istream<char, std::char_traits<char> >&, int&)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1126: error: wrong number of template arguments (1, should be 3) /usr/include/c++/4.4/bits/basic_string.h:104: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string' /usr/include/c++/4.4/bits/basic_string.tcc:1129: error: 'wstring' has not been declared /usr/include/c++/4.4/bits/basic_string.tcc:1129: error: template-id 'operator>><>' for 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::operator>>(std::basic_istream<wchar_t, std::char_traits<wchar_t> >&, int&)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1132: error: expected ',' or '...' before '&' token /usr/include/c++/4.4/bits/basic_string.tcc:1132: error: template-id 'operator<< <>' for 'std::basic_ostream<wchar_t, std::char_traits<wchar_t> >& std::operator<<(std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&, int)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1135: error: 'wstring' has not been declared /usr/include/c++/4.4/bits/basic_string.tcc:1135: error: template-id 'getline<>' for 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::getline(std::basic_istream<wchar_t, std::char_traits<wchar_t> >&, int&, wchar_t)' does not match any template declaration /usr/include/c++/4.4/bits/basic_string.tcc:1138: error: 'wstring' has not been declared /usr/include/c++/4.4/bits/basic_string.tcc:1138: error: template-id 'getline<>' for 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::getline(std::basic_istream<wchar_t, std::char_traits<wchar_t> >&, int&)' does not match any template declaration subsecvente.cpp:13: error: variable 'std::ifstream cin' has initializer but incomplete type subsecvente.cpp:14: error: variable 'std::ofstream cout' has initializer but incomplete type subsecvente.cpp:18: error: 'string' does not name a type subsecvente.cpp: In function 'void readData()': subsecvente.cpp:27: error: 'S' was not declared in this scope subsecvente.cpp:34: error: 'S' was not declared in this scope subsecvente.cpp: In function 'bool isGood(int)': subsecvente.cpp:63: error: 'S' was not declared in this scope
ajutor