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_39679097_17056.cpp:642:2: error: #endif without #if
  642 | #endif /* _STL_MAP_H */
      |  ^~~~~
0_0_39679097_17056.cpp:1:14: error: expected constructor, destructor, or type conversion before '_GLIBCXX_NOEXCEPT'
    1 | rend() const _GLIBCXX_NOEXCEPT
      |              ^~~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:10:7: error: 'const_iterator' does not name a type
   10 |       const_iterator
      |       ^~~~~~~~~~~~~~
0_0_39679097_17056.cpp:19:7: error: 'const_iterator' does not name a type
   19 |       const_iterator
      |       ^~~~~~~~~~~~~~
0_0_39679097_17056.cpp:28:7: error: 'const_reverse_iterator' does not name a type
   28 |       const_reverse_iterator
      |       ^~~~~~~~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:37:7: error: 'const_reverse_iterator' does not name a type
   37 |       const_reverse_iterator
      |       ^~~~~~~~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:47:21: error: expected initializer before '_GLIBCXX_NOEXCEPT'
   47 |       empty() const _GLIBCXX_NOEXCEPT
      |                     ^~~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:51:7: error: 'size_type' does not name a type
   51 |       size_type
      |       ^~~~~~~~~
0_0_39679097_17056.cpp:56:7: error: 'size_type' does not name a type
   56 |       size_type
      |       ^~~~~~~~~
0_0_39679097_17056.cpp:73:7: error: 'mapped_type' does not name a type
   73 |       mapped_type&
      |       ^~~~~~~~~~~
0_0_39679097_17056.cpp:93:7: error: 'mapped_type' does not name a type
   93 |       mapped_type&
      |       ^~~~~~~~~~~
0_0_39679097_17056.cpp:118:7: error: 'mapped_type' does not name a type
  118 |       mapped_type&
      |       ^~~~~~~~~~~
0_0_39679097_17056.cpp:127:13: error: 'mapped_type' does not name a type
  127 |       const mapped_type&
      |             ^~~~~~~~~~~
0_0_39679097_17056.cpp:157:14: error: 'pair' in namespace 'std' does not name a template type
  157 |         std::pair<iterator, bool>
      |              ^~~~
0_0_39679097_17056.cpp:1:1: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
  +++ |+#include <utility>
    1 | rend() const _GLIBCXX_NOEXCEPT
0_0_39679097_17056.cpp:187:9: error: 'iterator' does not name a type
  187 |         iterator
      |         ^~~~~~~~
0_0_39679097_17056.cpp:211:12: error: 'pair' in namespace 'std' does not name a template type
  211 |       std::pair<iterator, bool>
      |            ^~~~
0_0_39679097_17056.cpp:211:7: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
  211 |       std::pair<iterator, bool>
      |       ^~~
0_0_39679097_17056.cpp:217:21: error: 'enable_if' in namespace 'std' does not name a template type
  217 |                std::enable_if<std::is_constructible<value_type,
      |                     ^~~~~~~~~
0_0_39679097_17056.cpp:1:1: note: 'std::enable_if' is defined in header '<type_traits>'; did you forget to '#include <type_traits>'?
  +++ |+#include <type_traits>
    1 | rend() const _GLIBCXX_NOEXCEPT
0_0_39679097_17056.cpp:217:30: error: expected '>' before '<' token
  217 |                std::enable_if<std::is_constructible<value_type,
      |                              ^
0_0_39679097_17056.cpp:219:14: error: 'pair' in namespace 'std' does not name a template type
  219 |         std::pair<iterator, bool>
      |              ^~~~
0_0_39679097_17056.cpp:219:9: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
  219 |         std::pair<iterator, bool>
      |         ^~~
0_0_39679097_17056.cpp:233:7: error: variable or field 'insert' declared void
  233 |       insert(std::initializer_list<value_type> __list)
      |       ^~~~~~
0_0_39679097_17056.cpp:233:19: error: 'initializer_list' is not a member of 'std'
  233 |       insert(std::initializer_list<value_type> __list)
      |                   ^~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:233:36: error: 'value_type' was not declared in this scope
  233 |       insert(std::initializer_list<value_type> __list)
      |                                    ^~~~~~~~~~
0_0_39679097_17056.cpp:233:48: error: '__list' was not declared in this scope
  233 |       insert(std::initializer_list<value_type> __list)
      |                                                ^~~~~~
0_0_39679097_17056.cpp:260:7: error: 'iterator' does not name a type
  260 |       iterator
      |       ^~~~~~~~
0_0_39679097_17056.cpp:270:21: error: 'enable_if' in namespace 'std' does not name a template type
  270 |                std::enable_if<std::is_constructible<value_type,
      |                     ^~~~~~~~~
0_0_39679097_17056.cpp:270:21: note: 'std::enable_if' is defined in header '<type_traits>'; did you forget to '#include <type_traits>'?
0_0_39679097_17056.cpp:270:30: error: expected '>' before '<' token
  270 |                std::enable_if<std::is_constructible<value_type,
      |                              ^
0_0_39679097_17056.cpp:272:9: error: 'iterator' does not name a type
  272 |         iterator
      |         ^~~~~~~~
0_0_39679097_17056.cpp: In function 'void insert(_InputIterator, _InputIterator)':
0_0_39679097_17056.cpp:289:11: error: '_M_t' was not declared in this scope
  289 |         { _M_t._M_insert_unique(__first, __last); }
      |           ^~~~
0_0_39679097_17056.cpp: At global scope:
0_0_39679097_17056.cpp:307:7: error: 'iterator' does not name a type
  307 |       iterator
      |       ^~~~~~~~
0_0_39679097_17056.cpp:312:7: error: '_GLIBCXX_ABI_TAG_CXX11' does not name a type
  312 |       _GLIBCXX_ABI_TAG_CXX11
      |       ^~~~~~~~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:343:7: error: 'size_type' does not name a type
  343 |       size_type
      |       ^~~~~~~~~
0_0_39679097_17056.cpp:363:7: error: 'iterator' does not name a type
  363 |       iterator
      |       ^~~~~~~~
0_0_39679097_17056.cpp:396:7: error: variable or field 'swap' declared void
  396 |       swap(map& __x)
      |       ^~~~
0_0_39679097_17056.cpp:396:12: error: 'map' was not declared in this scope
  396 |       swap(map& __x)
      |            ^~~
0_0_39679097_17056.cpp:396:17: error: '__x' was not declared in this scope
  396 |       swap(map& __x)
      |                 ^~~
0_0_39679097_17056.cpp:409:15: error: expected initializer before '_GLIBCXX_NOEXCEPT'
  409 |       clear() _GLIBCXX_NOEXCEPT
      |               ^~~~~~~~~~~~~~~~~
0_0_39679097_17056.cpp:417:7: error: 'key_compare' does not name a type
  417 |       key_compare
      |       ^~~~~~~~~~~
0_0_39679097_17056.cpp:425:7: error: 'value_compare' does not name a type
  425 |       value_compare
      |       ^~~~~~~~~~~~~
0_0_39679097_17056.cpp:441:7: error: 'iterator' does not name a type
  441 |       iterator
      |       ^~~~~~~~
0_0_39679097_17056.cpp:456:7: error: 'const_iterator' does not name a type
  456 |       const_iterator
      |       ^~~~~~~~~~~~~~
0_0_39679097_17056.cpp:468:7: error: 'size_type' does not name a type
  468 |       size_type
      |       ^~~~~~~~~
0_0_39679097_17056.cpp:483:7: error: 'iterator' does not name a type
  483 |       iterator
      |       ^~~~~~~~
0_0_39679097_17056.cpp:498:7: error: 'const_iterator' does not name a type
  498 |       const_iterator
      |       ^~~~~~~~~~~~~~
0_0_39679097_17056.cpp:508:7: error: 'iterator' does not name a type
  508 |       iterator
      |       ^~~~~~~~
0_0_39679097_17056.cpp:518:7: error: 'const_iterator' does not name a type
  518 |       const_iterator
      |       ^~~~~~~~~~~~~~
0_0_39679097_17056.cpp:537:12: error: 'pair' in namespace 'std' does not name a template type
  537 |       std::pair<iterator, iterator>
      |            ^~~~
0_0_39679097_17056.cpp:537:7: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
  537 |       std::pair<iterator, iterator>
      |       ^~~
0_0_39679097_17056.cpp:556:12: error: 'pair' in namespace 'std' does not name a template type
  556 |       std::pair<const_iterator, const_iterator>
      |            ^~~~
0_0_39679097_17056.cpp:556:7: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
  556 |       std::pair<const_iterator, const_iterator>
      |       ^~~
0_0_39679097_17056.cpp:561:9: error: 'friend' used outside of class
  561 |         friend bool
      |         ^~~~~~
      |         ------
0_0_39679097_17056.cpp:562:26: error: 'map' does not name a type
  562 |         operator==(const map<_K1, _T1, _C1, _A1>&,
      |                          ^~~
0_0_39679097_17056.cpp:562:29: error: expected ',' or '...' before '<' token
  562 |         operator==(const map<_K1, _T1, _C1, _A1>&,
      |                             ^
0_0_39679097_17056.cpp:562:9: error: 'bool operator==(int)' must have an argument of class or enumerated type
  562 |         operator==(const map<_K1, _T1, _C1, _A1>&,
      |         ^~~~~~~~
0_0_39679097_17056.cpp:566:9: error: 'friend' used outside of class
  566 |         friend bool
      |         ^~~~~~
      |         ------
0_0_39679097_17056.cpp:567:25: error: 'map' does not name a type
  567 |         operator<(const map<_K1, _T1, _C1, _A1>&,
      |                         ^~~
0_0_39679097_17056.cpp:567:28: error: expected ',' or '...' before '<' token
  567 |         operator<(const map<_K1, _T1, _C1, _A1>&,
      |                            ^
0_0_39679097_17056.cpp:567:9: error: 'bool operator<(int)' must have an argument of class or enumerated type
  567 |         operator<(const map<_K1, _T1, _C1, _A1>&,
      |         ^~~~~~~~
0_0_39679097_17056.cpp:569:5: error: expected declaration before '}' token
  569 |     };
      |     ^
0_0_39679097_17056.cpp:583:22: error: 'map' does not nam


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-10-06 08:21:06, Gzip enabled