Problem descsort
User MistyMoon
Submission Time 2026-02-28 11:08:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:10:7: error: ‘i’ was not declared in this scope
10 | sort(i, i+n, greater<int>());
| ^
descsort.cpp:13:2: error: expected ‘}’ at end of input
13 | }
| ^
descsort.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^