Problem descsort
User panzhengye
Submission Time 2025-03-10 17:56:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:12:12: error: ‘num’ was not declared in this scope; did you mean ‘nums’?
12 | cin>>num[i];
| ^~~
| nums
descsort.cpp:15:25: error: ‘num’ was not declared in this scope; did you mean ‘nums’?
15 | sort(nums.rbegin(), num.rend());
| ^~~
| nums