Soumya Agrawal posted an update — Jan 09, 2023 03:14 PM EST include using namespace std; int main() { vector arr = {5,4,6,3,8,2,1,9,7,0}; sort(arr.begin(), arr.end()); for(int i=0; i<arr.size(); i++) { cout<<arr[i]<<" "; } return 0; } Log in or sign up for Devpost to join the conversation.
Soumya Agrawal posted an update — Jan 09, 2023 03:14 PM EST include using namespace std; int main() { vector arr = {5,4,6,3,8,2,1,9,7,0}; sort(arr.begin(), arr.end()); for(int i=0; i<arr.size(); i++) { cout<<arr[i]<<" "; } return 0; } Log in or sign up for Devpost to join the conversation.
Log in or sign up for Devpost to join the conversation.