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_21608596_8280.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_21608596_8280.cpp:164:38:   required from here
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;
                                                             ^
0_0_21608596_8280.cpp: In function 'void string_to_big_integer(const String&, BigUInteger<>&)':
0_0_21608596_8280.cpp:173: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;
                                           ^


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:34:05, Gzip enabled