0_0_17909001_20857.cpp:15:1: error: stray '\350' in program
<p>解法2:</p>
^
0_0_17909001_20857.cpp:15:1: error: stray '\247' in program
0_0_17909001_20857.cpp:15:1: error: stray '\243' in program
0_0_17909001_20857.cpp:15:1: error: stray '\346' in program
0_0_17909001_20857.cpp:15:1: error: stray '\263' in program
0_0_17909001_20857.cpp:15:1: error: stray '\225' in program
0_0_17909001_20857.cpp:15:1: error: stray '\357' in program
0_0_17909001_20857.cpp:15:1: error: stray '\274' in program
0_0_17909001_20857.cpp:15:1: error: stray '\232' in program
0_0_17909001_20857.cpp:14:2: error: expected unqualified-id before '<' token
}</pre>
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:46,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:61,
from 0_0_17909001_20857.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h: In member function '_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(__gnu_cxx::new_allocator<_Tp>::size_type, const void*)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:102:4: error: '__throw_bad_alloc' is not a member of 'std'
std::__throw_bad_alloc();
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_17909001_20857.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h: In member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::_M_check_len(std::vector<_Tp, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1425:33: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N(__s));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1425:33: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
from 0_0_17909001_20857.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::reserve(std::vector<bool, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:807:45: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N("vector::reserve"));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In member function 'std::vector<bool, _Alloc>::size_type std::vector<bool, _Alloc>::_M_check_len(std::vector<bool, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1159:31: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N(__s));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
from 0_0_17909001_20857.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:69:45: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N("vector::reserve"));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/array:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_17909001_20857.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h: In member function 'void std::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:334:33: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N(__s));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/array:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_17909001_20857.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h: In function '_Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, std::size_t*, _Base ...)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:65:2: error: '__throw_invalid_argument' is not a member of 'std'
std::__throw_invalid_argument(__name);
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:70:2: error: '__throw_out_of_range' is not a member of 'std'
std::__throw_out_of_range(__name);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/array:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_17909001_20857.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc: In static member function 'static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:133:72: error: there are no arguments to '__throw_logic_error' that depend on a template parameter, so a declaration of '__throw_logic_error' must be available [-fpermissive]
__throw_logic_error(__N("basic_string::_S_construct null not valid"));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc: In static member function 'static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:552:53: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N("basic_string::_S_create"));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_17909001_20857.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array: In member function 'std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::at(std::array<_Tp, _Nm>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:183:4: error: '__throw_out_of_range_fmt' is not a member of 'std'
std::__throw_out_of_range_fmt(__N("array::at: __n (which is %zu) "
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/array: In member function 'constexpr const value_type& std::array<_Tp, _Nm>::at(std::array<_Tp, _Nm>::size_type) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:195:7: error: '__throw_out_of_range_fmt' is not a member of 'std'
: (std::__throw_out_of_range_fmt(__N("array::at: __n (which is %zu) "
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_17909001_20857.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h: In member function 'std::map<_Key,
|