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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 608968
Concurent: Alexandru Iordache (Alex5597)Progres: evaluare completă
Problemă: m01Punctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 1 nov 2024, 00:32
Mesaj evaluator:
m01.cpp: In function 'std::string findMultiple(int)': m01.cpp:14: error: '>>' should be '> >' within a nested template argument list m01.cpp:16: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x m01.cpp:16: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x m01.cpp:20: warning: 'auto' will change meaning in C++0x; please remove it m01.cpp:20: error: expected unqualified-id before '[' token m01.cpp:23: error: 'remainder' was not declared in this scope m01.cpp:24: error: 'current_str' was not declared in this scope m01.cpp:26: error: 'remainder' was not declared in this scope m01.cpp:30: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x m01.cpp:30: error: 'current_str' was not declared in this scope m01.cpp:30: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x m01.cpp:30: error: no matching function for call to 'std::queue<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::deque<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > >::push(<brace-enclosed initializer list>)' /usr/include/c++/4.4/bits/stl_queue.h:218: note: candidates are: void std::queue<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, _Sequence = std::deque<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >] m01.cpp:37: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x m01.cpp:37: error: 'current_str' was not declared in this scope m01.cpp:37: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x m01.cpp:37: error: no matching function for call to 'std::queue<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::deque<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > >::push(<brace-enclosed initializer list>)' /usr/include/c++/4.4/bits/stl_queue.h:218: note: candidates are: void std::queue<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, _Sequence = std::deque<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >]
ajutor