0_0_33438137_25243.cpp: In function 'int main()':
0_0_33438137_25243.cpp:58:8: error: redeclaration of 'node sj'
node sj=a[n][0];
^
0_0_33438137_25243.cpp:49:8: note: 'node sj' previously declared here
node sj=a[n][0];
^
0_0_33438137_25243.cpp:59:8: error: redeclaration of 'node xj'
node xj=a[1][0];
^
0_0_33438137_25243.cpp:50:8: note: 'node xj' previously declared here
node xj=a[1][0];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_33438137_25243.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = node (*)[2]]'
0_0_33438137_25243.cpp:48:17: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1851:17: error: invalid array assignment
*__first = _GLIBCXX_MOVE(__val);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_33438137_25243.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1676:50: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59: required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = node (*)[2]; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1969:11: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = node (*)[2]]'
0_0_33438137_25243.cpp:48:17: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:244:17: error: invalid array assignment
*__result = _GLIBCXX_MOVE(*__first);
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = node (*)[2]; _Distance = long long int; _Tp = node*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:334:15: required from 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1673:49: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59: required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = node (*)[2]; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1969:11: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = node (*)[2]]'
0_0_33438137_25243.cpp:48:17: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:218:29: error: invalid array assignment
*(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:224:29: error: invalid array assignment
*(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_33438137_25243.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h: In instantiation of 'static _BI2 std::__copy_move_backward<true, false, std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with _BI1 = node (*)[2]; _BI2 = node (*)[2]]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:598:18: required from '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = true; _BI1 = node (*)[2]; _BI2 = node (*)[2]]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:607:33: required from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = true; _BI1 = node (*)[2]; _BI2 = node (*)[2]]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:678:15: required from '_BI2 std::move_backward(_BI1, _BI1, _BI2) [with _BI1 = node (*)[2]; _BI2 = node (*)[2]]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1850:8: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node (*)[2]; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = node (*)[2]]'
0_0_33438137_25243.cpp:48:17: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:558:18: error: invalid array assignment
*--__result = std::move(*--__last);
^
|