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

0_0_17202802_1131.cpp:22:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_17202802_1131.cpp:66:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_17202802_1131.cpp:22:3: error: 'include' does not name a type
 }#include<iostream>
   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:97:26: error: expected template-name before '<' token
   : std::allocator_traits<_Alloc>
                          ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:97:26: error: expected '{' before '<' token
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:97:26: error: expected unqualified-id before '<' token
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::_M_move_assign(std::vector<_Tp, _Alloc>&&, std::true_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1459:2: error: '__alloc_on_move' is not a member of 'std'
  std::__alloc_on_move(_M_get_Tp_allocator(), __x._M_get_Tp_allocator());
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:187:8: error: '__alloc_on_copy' is not a member of 'std'
        std::__alloc_on_copy(_M_get_Tp_allocator(),
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In member function 'bool std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_move_assign(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1084:4: error: '__alloc_on_move' is not a member of 'std'
    std::__alloc_on_move(_M_get_Node_allocator(),
    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::operator=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:1110:5: error: '__alloc_on_copy' is not a member of 'std'
     std::__alloc_on_copy(__this_alloc, __that_alloc);
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h: In instantiation of 'class std::map<int, int>':
0_0_17202802_1131.cpp:30:14:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:132:28: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
  rebind<value_type>::other _Pair_alloc_type;
                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:135:41: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
          key_compare, _Pair_alloc_type> _Rep_type;
                                         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:140:59: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
       typedef __gnu_cxx::__alloc_traits<_Pair_alloc_type> _Alloc_traits;
                                                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:145:58: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
       typedef typename _Alloc_traits::pointer            pointer;
                                                          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:146:58: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
       typedef typename _Alloc_traits::const_pointer      const_pointer;
                                                          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:147:58: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
       typedef typename _Alloc_traits::reference          reference;
                                                          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:148:58: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
       typedef typename _Alloc_traits::const_reference    const_reference;
                                                          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:62,
                 from 0_0_17202802_1131.cpp:25:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: error: declaration of 'struct __gnu_cxx::__alloc_traits<std::allocator<std::pair<const int, int> > >'
   struct __alloc_traits
          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_17202802_1131.cpp:27:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:149:58: error: invalid use of incomplete type 'struct __gnu_cxx::__alloc_trait


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-11-30 00:27:17, Gzip enabled