Vektorius

Taškai: 0

Compile: FAIL

vektorius.cpp: In function ‘int main()’: vektorius.cpp:49:58: error: wrong number of template arguments (0, should be 1) 49 | sort(Arr.begin(), Arr.end(), greater<>()); | ^ In file included from /usr/include/c++/11/string:48, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from vektorius.cpp:1: /usr/include/c++/11/bits/stl_function.h:385:12: note: provided for ‘template<class _Tp> struct std::greater’ 385 | struct greater : public binary_function<_Tp, _Tp, bool> | ^~~~~~~

nr.resulttimemessage