Problem | bananasmoothie |
---|---|
User | 583116UB |
Submission Time | 2024-05-04 10:57:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bananasmoothie.cpp:3:19: error: expected unqualified-id before numeric constant
3 | typedef long long 11;
| ^~
bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:6:12: error: ‘sync_With_stdio’ is not a member of ‘std::ios_base’
6 | ios_base::sync_With_stdio(false);cin.tie(0);
| ^~~~~~~~~~~~~~~
bananasmoothie.cpp:13:32: error: no matching function for call to ‘sort(int [n], int&, std::greater<int>)’
13 | sort(arr,arr[n],greater<int>());
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from bananasmoothie.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:4863:5: note: candidate: ‘template<class _RAIter> void std::sort(_RAIter, _RAIter)’
4863 | sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
| ^~~~