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++/algorithm:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
                 from 0_0_32599828_6518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char; _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 = char; _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 = char]'
0_0_32599828_6518.cpp:7:16:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: error: no matching function for call to '__insertion_sort(char&, int, __gnu_cxx::__ops::_Iter_less_iter&)'
    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
                                                                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1839:5: note: template<class _RandomAccessIterator, class _Compare> void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare)
     __insertion_sort(_RandomAccessIterator __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1839:5: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: note:   deduced conflicting types for parameter '_RandomAccessIterator' ('char' and 'int')
    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
                                                                      ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1886:14: error: no matching function for call to '__unguarded_insertion_sort(int, char&, __gnu_cxx::__ops::_Iter_less_iter&)'
        __comp);
              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1886:14: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1862:5: note: template<class _RandomAccessIterator, class _Compare> void std::__unguarded_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare)
     __unguarded_insertion_sort(_RandomAccessIterator __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1862:5: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1886:14: note:   deduced conflicting types for parameter '_RandomAccessIterator' ('int' and 'char')
        __comp);
              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char; _Compare = __gnu_cxx::__ops::_Iter_less_iter]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1952:62:   required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = char; _Size = 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 = char; _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 = char]'
0_0_32599828_6518.cpp:7:16:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1921:13: error: no matching function for call to '__move_median_to_first(char&, int, char&, int, __gnu_cxx::__ops::_Iter_less_iter&)'
       __comp);
             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1921:13: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:78:5: note: template<class _Iterator, class _Compare> void std::__move_median_to_first(_Iterator, _Iterator, _Iterator, _Iterator, _Compare)
     __move_median_to_first(_Iterator __result,_Iterator __a, _Iterator __b,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:78:5: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1921:13: note:   deduced conflicting types for parameter '_Iterator' ('char' and 'int')
       __comp);
             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1922:77: error: no matching function for call to '__unguarded_partition(int, char&, char&, __gnu_cxx::__ops::_Iter_less_iter&)'
       return std::__unguarded_partition(__first + 1, __last, __first, __comp);
                                                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1922:77: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1895:5: note: template<class _RandomAccessIterator, class _Compare> _RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare)
     __unguarded_partition(_RandomAccessIterator __first,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1895:5: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1922:77: note:   deduced conflicting types for parameter '_RandomAccessIterator' ('int' and 'char')
       return std::__unguarded_partition(__first + 1, __last, __first, __comp);
                                                                             ^
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_32599828_6518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char; _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 = char; _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 = char; _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 = char; _Size = 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 = char; _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 = char]'
0_0_32599828_6518.cpp:7:16:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:321:4: error: no type named 'value_type' in 'struct std::iterator_traits<char>'
    _ValueType;
    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:323:4: error: no type named 'difference_type' in 'struct std::iterator_traits<char>'
    _DistanceType;
    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 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_32599828_6518.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = char; _Iterator2 = char]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1675:25:   required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = char; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932


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-10-06 06:52:23, Gzip enabled