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 gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/vector:64,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/queue:61,
                 from 0_0_38656678_23828.cpp:12:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'struct std::_Vector_base<int, int>':
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:339:11:   required from 'class std::vector<int, int>'
0_0_38656678_23828.cpp:33:23:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:84:21: error: 'int' is not a class, struct, or union type
  rebind<_Tp>::other _Tp_alloc_type;
                     ^~~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:86:9: error: 'int' is not a class, struct, or union type
         pointer;
         ^~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'class std::vector<int, int>':
0_0_38656678_23828.cpp:33:23:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:340:5: error: 'int' is not a class, struct, or union type
     {
     ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:379:20: error: no members matching 'std::vector<int, int>::_Base {aka std::_Vector_base<int, int>}::_M_allocate' in 'std::vector<int, int>::_Base' {aka 'struct std::_Vector_base<int, int>'}
       using _Base::_M_allocate;
                    ^~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:380:20: error: no members matching 'std::vector<int, int>::_Base {aka std::_Vector_base<int, int>}::_M_deallocate' in 'std::vector<int, int>::_Base' {aka 'struct std::_Vector_base<int, int>'}
       using _Base::_M_deallocate;
                    ^~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:382:20: error: no members matching 'std::vector<int, int>::_Base {aka std::_Vector_base<int, int>}::_M_get_Tp_allocator' in 'std::vector<int, int>::_Base' {aka 'struct std::_Vector_base<int, int>'}
       using _Base::_M_get_Tp_allocator;
                    ^~~~~~~~~~~~~~~~~~~
0_0_38656678_23828.cpp: In function 'int bfs(int)':
0_0_38656678_23828.cpp:50:18: error: no match for 'operator[]' (operand types are 'std::vector<int, int>' and 'int')
    y.first = k[t][i];
                  ^
0_0_38656678_23828.cpp: In function 'void solve()':
0_0_38656678_23828.cpp:74:10: error: expected unqualified-id before 'int'
   int x, int y;
          ^~~
0_0_38656678_23828.cpp:75:15: error: 'y' was not declared in this scope
   cin >> x >> y;
               ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/vector:64,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/queue:61,
                 from 0_0_38656678_23828.cpp:12:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = int; _Alloc = int]':
0_0_38656678_23828.cpp:33:23:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:567:30: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_start'
  std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
                ~~~~~~~~~~~~~~^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:567:54: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_finish'
  std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
                                        ~~~~~~~~~~~~~~^~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:568:28: error: '_M_get_Tp_allocator' was not declared in this scope
         _M_get_Tp_allocator());
         ~~~~~~~~~~~~~~~~~~~^~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:568:28: note: suggested alternative: 'get_allocator'
         _M_get_Tp_allocator());
         ~~~~~~~~~~~~~~~~~~~^~
         get_allocator
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = long long unsigned int]':
0_0_38656678_23828.cpp:48:33:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:806:40: error: 'const struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_finish'
       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
                          ~~~~~~~~~~~~~~^~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:806:66: error: 'const struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_start'
       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
                                                    ~~~~~~~~~~~~~~^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'void std::vector<_Tp, _Alloc>::clear() [with _Tp = int; _Alloc = int]':
0_0_38656678_23828.cpp:70:14:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:1386:39: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_start'
       { _M_erase_at_end(this->_M_impl._M_start); }
                         ~~~~~~~~~~~~~~^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = int; _Alloc = int]':
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:395:15:   required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = int; _Alloc = int]'
0_0_38656678_23828.cpp:33:23:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:285:24: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_start'
  _M_deallocate(_M_impl._M_start,
                ~~~~~~~~^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:286:17: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_end_of_storage'
         _M_impl._M_end_of_storage - _M_impl._M_start);
         ~~~~~~~~^~~~~~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:286:45: error: 'struct std::_Vector_base<int, int>::_Vector_impl' has no member named '_M_start'
         _M_impl._M_end_of_storage - _M_impl._M_start);
                                     ~~~~~~~~^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = int; _Alloc = int]':
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:249:17:   required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = int; _Alloc = int]'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:395:15:   required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = int; _Alloc = int]'
0_0_38656678_23828.cpp:33:23:   required from here
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:96:65: error: 'int' is not a class, struct, or union type
  : _Tp_alloc_type(), _M_start(), _M_finish(), _M_end_of_storage()
                                                                 ^
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:96:65: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_start'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:96:65: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_finish'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_vector.h:96:65: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_end_of_storage'


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-05-25 19:39:44, Gzip enabled