Problem descsort
User Nathaniel
Submission Time 2025-03-10 18:02:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:14:7: error: ‘nums’ was not declared in this scope
14 | sort(nums.rbegin(),nums.rend());
| ^~~~
descsort.cpp:17:11: error: ‘numbs’ was not declared in this scope
17 | cout << numbs[i] << " ";
| ^~~~~
descsort.cpp:20:10: error: expected ‘;’ before ‘}’ token
20 | return 0
| ^
| ;
21 | }
| ~