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_21608504_28689.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_21608504_28689.cpp:158:38:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:121:57: error: no type named 'size_type' in 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_CharT_alloc_type {aka class MonotonicBufferAllocator<char>}'
       typedef typename _CharT_alloc_type::size_type     size_type;
                                                         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:122:61: error: no type named 'difference_type' in 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_CharT_alloc_type {aka class MonotonicBufferAllocator<char>}'
       typedef typename _CharT_alloc_type::difference_type   difference_type;
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:123:57: error: no type named 'reference' in 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_CharT_alloc_type {aka class MonotonicBufferAllocator<char>}'
       typedef typename _CharT_alloc_type::reference     reference;
                                                         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:124:61: error: no type named 'const_reference' in 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_CharT_alloc_type {aka class MonotonicBufferAllocator<char>}'
       typedef typename _CharT_alloc_type::const_reference   const_reference;
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:125:55: error: no type named 'pointer' in 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_CharT_alloc_type {aka class MonotonicBufferAllocator<char>}'
       typedef typename _CharT_alloc_type::pointer     pointer;
                                                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:126:61: error: no type named 'const_pointer' in 'std::basic_string<char, std::char_traits<char>, MonotonicBufferAllocator<char> >::_CharT_alloc_type {aka class MonotonicBufferAllocator<char>}'
       typedef typename _CharT_alloc_type::const_pointer     const_pointer;
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:127:68: error: no type named 'pointer' in 'using other = class MonotonicBufferAllocator<char> {aka 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 type named 'const_pointer' in 'using other = class MonotonicBufferAllocator<char> {aka class MonotonicBufferAllocator<char>}'
                                                             const_iterator;
                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:130:53: error: no type named 'const_pointer' in 'using other = class MonotonicBufferAllocator<char> {aka 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 type named 'pointer' in 'using other = class MonotonicBufferAllocator<char> {aka class MonotonicBufferAllocator<char>}'
       typedef std::reverse_iterator<iterator>      reverse_iterator;
                                                    ^
0_0_21608504_28689.cpp: In function 'void string_to_big_integer(const String&, BigUInteger<>&)':
0_0_21608504_28689.cpp:158:39: error: 'const String' has no member named 'size'
   for (std::size_t i = 0; i < (string.size() + 7) / 8; ++i)
                                       ^
0_0_21608504_28689.cpp:164:32: error: 'const String' has no member named 'size'
       std::size_t pos = string.size() - 8 * i - j - 1;
                                ^
0_0_21608504_28689.cpp:165:24: error: 'const String' has no member named 'size'
       if (pos < string.size())
                        ^
0_0_21608504_28689.cpp:167: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++/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_21608504_28689.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_21608504_28689.cpp:279: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_21608504_28689.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<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits<char>; _Alloc = MonotonicBufferAllocator<char>]
         append(_InputIterator __first, _InputIterator __last)
         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:1061:9: note:   template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++


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-06-26 15:37:42, Gzip enabled