Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_277_1286_22985.cpp:1: error: expected constructor, destructor, or type conversion before '<' token
1_277_1286_22985.cpp:1: error: expected `,' or `;' before '<' token
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstring:49,
                 from 1_277_1286_22985.cpp:2:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstddef:52: error: `::ptrdiff_t' has not been declared
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:70,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:47,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:78: error: `ptrdiff_t' does not name a type
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:73,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:47,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_iterator_base_types.h:104: error: `ptrdiff_t' has not been declared
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_iterator_base_types.h:141: error: `ptrdiff_t' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_iterator_base_types.h:151: error: `ptrdiff_t' does not name a type
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:47,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: In static member function `static _Tp* std::__copy_backward_dispatch<_Tp*, _Tp*, __true_type>::copy(const _Tp*, const _Tp*, _Tp*)':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:406: error: `ptrdiff_t' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:407: error: `_Num' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:407: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/c++allocator.h:34,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/allocator.h:52,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:55,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:48,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ext/new_allocator.h: At global scope:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ext/new_allocator.h:51: error: `ptrdiff_t' does not name a type
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:55,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:48,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/allocator.h:64: error: `ptrdiff_t' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/allocator.h:84: error: `ptrdiff_t' does not name a type
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:48,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:73: error: `ptrdiff_t' was not declared in this scope
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:74: error: template argument 2 is invalid
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:74: error: invalid type in declaration before '(' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:74: error: template declaration of `int std::__get_temporary_buffer'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:74: error: `ptrdiff_t' was not declared in this scope
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:74: error: expected primary-expression before '*' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:74: error: expected primary-expression before ')' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:75: error: expected `;' before '{' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:108: error: `ptrdiff_t' was not declared in this scope
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:109: error: template argument 2 is invalid
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:109: error: `std::get_temporary_buffer' declared as an `inline' variable
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:109: error: template declaration of `int std::get_temporary_buffer'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:109: error: `ptrdiff_t' was not declared in this scope
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/memory:110: error: expected `;' before '{' token
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:65,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/algorithm:69,
                 from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:56,
                 from 1_277_1286_22985.cpp:4:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:85: error: `ptrdiff_t' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:88: error: `size_type' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:89: error: `size_type' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:101: error: `size_type' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:106: error: `size_type' does not name a type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h: In member function `void std::_Temporary_buffer<_ForwardIterator, _Tp>::_M_initialize_buffer(const _Tp&, __false_type)':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:97: error: `_M_len' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h: In member function `_Tp* std::_Temporary_buffer<_ForwardIterator, _Tp>::end()':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:118: error: `_M_len' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h: In destructor `std::_Temporary_buffer<_ForwardIterator, _Tp>::~_Temporary_buffer()':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:128: error: `_M_len' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h: In constructor `std::_Temporary_buffer<_ForwardIterator, _Tp>::_Temporary_buffer(_ForwardIterator, _ForwardIterator)':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:144: error: class `std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named `_M_original_len'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:145: error: class `std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named `_M_len'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:153: error: `size_type' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:153: error: template argument 2 is invalid
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:153: error: invalid type in declaration before '(' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:153: error: `get_temporary_buffer' undeclared (first use this function)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tempbuf.h:154: error: expected primary-expression befor


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 09:13:35, Gzip enabled