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

GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h: In member function `void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(size_t) [with _Tp = Q, _Alloc = std::allocator<Q>]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:367:   instantiated from `std::_Deque_base<_Tp, _Alloc>::_Deque_base(const _Alloc&, size_t) [with _Tp = Q, _Alloc = std::allocator<Q>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:636:   instantiated from `std::deque<_Tp, _Alloc>::deque(const typename std::_Deque_base<_Tp, _Alloc>::allocator_type&) [with _Tp = Q, _Alloc = std::allocator<Q>]'
0_0_9673966_1244.cpp:22:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:444: error: invalid application of `sizeof' to incomplete type `Q' 
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:367:   instantiated from `std::_Deque_base<_Tp, _Alloc>::_Deque_base(const _Alloc&, size_t) [with _Tp = Q, _Alloc = std::allocator<Q>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:636:   instantiated from `std::deque<_Tp, _Alloc>::deque(const typename std::_Deque_base<_Tp, _Alloc>::allocator_type&) [with _Tp = Q, _Alloc = std::allocator<Q>]'
0_0_9673966_1244.cpp:22:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:471: error: invalid application of `sizeof' to incomplete type `Q' 
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:471: error: invalid use of undefined type `struct Q'
0_0_9673966_1244.cpp:22: error: forward declaration of `struct Q'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h: In member function `void std::_Deque_base<_Tp, _Alloc>::_M_deallocate_node(_Tp*) [with _Tp = Q, _Alloc = std::allocator<Q>]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:497:   instantiated from `void std::_Deque_base<_Tp, _Alloc>::_M_destroy_nodes(_Tp**, _Tp**) [with _Tp = Q, _Alloc = std::allocator<Q>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:425:   instantiated from `std::_Deque_base<_Tp, _Alloc>::~_Deque_base() [with _Tp = Q, _Alloc = std::allocator<Q>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:703:   instantiated from `std::deque<_Tp, _Alloc>::~deque() [with _Tp = Q, _Alloc = std::allocator<Q>]'
0_0_9673966_1244.cpp:22:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_deque.h:401: error: invalid application of `sizeof' to incomplete type `Q' 


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-17 23:48:31, Gzip enabled