F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_21608306_13331.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h: In instantiation of 'class std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >':
0_0_21608306_13331.cpp:152:38:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:114:63: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<char>'
       typedef typename _Alloc::template rebind<_CharT>::other _CharT_alloc_type;
                                                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:127:68: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<char>'
       typedef __gnu_cxx::__normal_iterator<pointer, basic_string>  iterator;
                                                                    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:129:61: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<char>'
                                                             const_iterator;
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:130:53: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<char>'
       typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
                                                     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:131:52: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<char>'
       typedef std::reverse_iterator<iterator>      reverse_iterator;
                                                    ^
0_0_21608306_13331.cpp: In function 'void string_to_big_integer(const String&, BigUInteger<>&)':
0_0_21608306_13331.cpp:152:39: error: 'const String' has no member named 'size'
   for (std::size_t i = 0; i < (string.size() + 7) / 8; ++i)
                                       ^
0_0_21608306_13331.cpp:158:32: error: 'const String' has no member named 'size'
       std::size_t pos = string.size() - 8 * i - j - 1;
                                ^
0_0_21608306_13331.cpp:159:24: error: 'const String' has no member named 'size'
       if (pos < string.size())
                        ^
0_0_21608306_13331.cpp:161:43: error: no match for 'operator[]' (operand types are 'const String {aka const std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >}' and 'std::size_t {aka long long unsigned int}')
         digit += static_cast<UIntT>(string[pos] - '0') * base;
                                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
                 from 0_0_21608306_13331.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In instantiation of 'struct std::_Bvector_base<MonotonicBufferAllocator<bool> >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:526:9:   required from 'class std::vector<bool, MonotonicBufferAllocator<bool> >'
0_0_21608306_13331.cpp:236:65:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:414:9: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<bool>'
         _Bit_alloc_type;
         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In instantiation of 'class std::vector<bool, MonotonicBufferAllocator<bool> >':
0_0_21608306_13331.cpp:236:65:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:555:18: error: no members matching 'std::vector<bool, MonotonicBufferAllocator<bool> >::_Base {aka std::_Bvector_base<MonotonicBufferAllocator<bool> >}::_M_get_Bit_allocator' in 'std::vector<bool, MonotonicBufferAllocator<bool> >::_Base {aka struct std::_Bvector_base<MonotonicBufferAllocator<bool> >}'
     using _Base::_M_get_Bit_allocator;
                  ^
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++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_21608306_13331.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h: In instantiation of 'struct std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_Rep':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:547:9:   required from 'std::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = MonotonicBufferAllocator<char>]'
0_0_21608306_13331.cpp:257:10:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:158:56: error: no class template named 'rebind' in 'class MonotonicBufferAllocator<char>'
  typedef typename _Alloc::template rebind<char>::other _Raw_bytes_alloc;
                                                        ^
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++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_21608306_13331.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc: In instantiation of 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = MonotonicBufferAllocator<char>]':
0_0_21608306_13331.cpp:273:17:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:1015:8: error: 'class std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >' has no member named 'erase'
        __str.erase();
        ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:1032:9: error: no matching function for call to 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::append(char [128], long long unsigned int)'
         __str.append(__buf, sizeof(__buf) / sizeof(_CharT));
         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:1032:9: note: candidates are:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:324:5: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = MonotonicBufferAllocator<char>]
     basic_string<_CharT, _Traits, _Alloc>::
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:324:5: note:   candidate expects 1 argument, 2 provided
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++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_21608306_13331.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:1023:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = MonotonicBufferAllocator<char>]
       append(const _CharT* __s)
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:1023:7: note:   candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:1047:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = MonotonicBufferAllocator<char>]
       append(initializer_list<_CharT> __l)
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:1047:7: note:   candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:1061:9: note: template<class _InputIterator> std::basic_string<_Cha


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 03:51:26, Gzip enabled