Problem descsort
User blob
Submission Time 2023-11-14 14:30:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp: In function ‘int main()’:
descsort.cpp:8:10: error: expected primary-expression before ‘int’
8 | cin >> int arr[i];
| ^~~
descsort.cpp:10:5: error: ‘class std::vector<int>’ has no member named ‘pushback’; did you mean ‘push_back’?
10 | v.pushback (arr[i]);
| ^~~~~~~~
| push_back
descsort.cpp:12:18: error: expected ‘;’ before ‘}’ token
12 | cout << arr[i]
| ^
| ;
13 | }
| ~