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++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_34306380_8984.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h: In instantiation of 'class std::_List_base<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11:   required from 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >'
0_0_34306380_8984.cpp:57:74:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:315:9: error: no class template named 'rebind' in 'class myallocator<std::pair<unsigned int, int> >'
         _Node_alloc_type;
         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:317:60: error: no class template named 'rebind' in 'class myallocator<std::pair<unsigned int, int> >'
       typedef typename _Alloc::template rebind<_Tp>::other _Tp_alloc_type;
                                                            ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h: In instantiation of 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >':
0_0_34306380_8984.cpp:57:74:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:480:20: error: no members matching 'std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >::_Base {aka std::_List_base<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >}::_M_get_Tp_allocator' in 'std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >::_Base {aka class std::_List_base<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >}'
       using _Base::_M_get_Tp_allocator;
                    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:481:20: error: no members matching 'std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >::_Base {aka std::_List_base<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >}::_M_get_Node_allocator' in 'std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >::_Base {aka class std::_List_base<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >}'
       using _Base::_M_get_Node_allocator;
                    ^
0_0_34306380_8984.cpp: In function 'void insert(ul, const std::pair<unsigned int, int>&)':
0_0_34306380_8984.cpp:69:40: error: 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >' has no member named 'back'
   while (tree[pos].size() && tree[pos].back().second <= v.second) {
                                        ^
0_0_34306380_8984.cpp: In function 'li query(ul, ul, ul)':
0_0_34306380_8984.cpp:83:45: error: 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >' has no member named 'front'
    while (tree[l ^ 1].size() && tree[l ^ 1].front().first < bound) {
                                             ^
0_0_34306380_8984.cpp:87:37: error: 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >' has no member named 'front'
     ret = std::max(ret, tree[l ^ 1].front().second);
                                     ^
0_0_34306380_8984.cpp:91:45: error: 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >' has no member named 'front'
    while (tree[r ^ 1].size() && tree[r ^ 1].front().first < bound) {
                                             ^
0_0_34306380_8984.cpp:95:37: error: 'class std::list<std::pair<unsigned int, int>, myallocator<std::pair<unsigned int, int> > >' has no member named 'front'
     ret = std::max(ret, tree[r ^ 1].front().second);
                                     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_34306380_8984.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/list.tcc: In instantiation of 'void std::_List_base<_Tp, _Alloc>::_M_clear() [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:387:18:   required from 'std::_List_base<_Tp, _Alloc>::~_List_base() [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/list.tcc:75:26: error: '_M_get_Node_allocator' was not declared in this scope
    _M_get_Node_allocator().destroy(__tmp);
                          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
                 from 0_0_34306380_8984.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h: In instantiation of 'void std::list<_Tp, _Alloc>::_M_erase(std::list<_Tp, _Alloc>::iterator) [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >; std::list<_Tp, _Alloc>::iterator = std::_List_iterator<std::pair<unsigned int, int> >]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:1055:9:   required from 'void std::list<_Tp, _Alloc>::pop_back() [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >]'
0_0_34306380_8984.cpp:70:23:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:1700:31: error: '_M_get_Node_allocator' was not declared in this scope
         _M_get_Node_allocator().destroy(__n);
                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h: In instantiation of 'std::_List_base<_Tp, _Alloc>::_List_impl::_List_impl() [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:369:17:   required from 'std::_List_base<_Tp, _Alloc>::_List_base() [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:537:15:   required from 'std::list<_Tp, _Alloc>::list() [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >]'
0_0_34306380_8984.cpp:57:74:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:325:32: error: no class template named 'rebind' in 'class myallocator<std::pair<unsigned int, int> >'
  : _Node_alloc_type(), _M_node()
                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h: In instantiation of 'std::list<_Tp, _Alloc>::_Node* std::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::pair<unsigned int, int>&}; _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >; std::list<_Tp, _Alloc>::_Node = std::_List_node<std::pair<unsigned int, int> >]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:1688:63:   required from 'void std::list<_Tp, _Alloc>::_M_insert(std::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const std::pair<unsigned int, int>&}; _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >; std::list<_Tp, _Alloc>::iterator = std::_List_iterator<std::pair<unsigned int, int> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:1029:9:   required from 'void std::list<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<unsigned int, int>; _Alloc = myallocator<std::pair<unsigned int, int> >; std::list<_Tp, _Alloc>::value_type = std::pair<unsigned int, int>]'
0_0_34306380_8984.cpp:72:24:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:514:30: error: '_M_get_Node_allocator' was not declared in this scope
        _M_get_Node_allocator().construct(__p,
                              ^


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-02 10:56:35, Gzip enabled