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 GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp:333:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:56,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/priority_queue.hpp:46,
                 from 0_0_20066632_5997.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: In instantiation of 'void __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::swap_value_imp(__gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::entry_pointer, __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::const_reference, __gnu_pbds::detail::false_type) [with Value_Type = D; Cmp_Fn = std::less<D>; _Alloc = std::allocator<char>; __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::entry_pointer = D**; __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::const_reference = const D&; __gnu_pbds::detail::false_type = std::tr1::integral_constant<int, 0>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp:103:60:   required from 'void __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::modify(__gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::point_iterator, __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::const_reference) [with Value_Type = D; Cmp_Fn = std::less<D>; _Alloc = std::allocator<char>; __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::point_iterator = __gnu_pbds::detail::binary_heap_point_const_iterator_<D, D*, false, std::allocator<char> >; typename __gnu_cxx::__conditional_type<simple_value, Value_Type, typename _Alloc::rebind<Value_Type>::other::pointer>::__type = D*; __gnu_pbds::detail::binary_heap<Value_Type, Cmp_Fn, _Alloc>::const_reference = const D&]'
0_0_20066632_5997.cpp:41:34:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp:173:3: error: 'struct D' has no member named 'swap'
   (*p_e)->swap(tmp);
   ^


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-28 17:37:48, Gzip enabled