Dovanos

Taškai: 0

Compile: FAIL

dovanos.cpp: In function ‘int main()’: dovanos.cpp:15:38: error: wrong number of template arguments (0, should be 1) 15 | sort(a.begin(), a.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 dovanos.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