0_0_38856909_21567.cpp: In function 'int main()':
0_0_38856909_21567.cpp:58:32: error: 'greater' was not declared in this scope
58 | sort(str,str+k,greater<int>());
| ^~~~~~~~~~~~
0_0_38856909_21567.cpp:58:32: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/iterator_concepts.h:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_iterator_base_types.h:71,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:65,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from 0_0_38856909_21567.cpp:3:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_cmp.h:143:10: note: 'std::ranges::greater'
143 | struct greater
| ^~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:65,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/compare:51:57: note: 'std::__cmp_cat::_Ord::greater'
51 | enum class _Ord : type { equivalent = 0, less = -1, greater = 1 };
| ^~~~~~~
|