You are viewing a single comment's thread. Return to all comments →
Sorting of the vector using C++ Language:
Solution
using namespace std;
int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n,x; vectorv(n); for(int i = 0;i
sort(v.begin(),v.end()); for(int i = 0;i<v.size();i++){ cout<<v[i]; } return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Vector-Sort
You are viewing a single comment's thread. Return to all comments →
Sorting of the vector using C++ Language:
Solution
include
include
include
include
include
using namespace std;
int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n,x; vectorv(n); for(int i = 0;i
}