Commit 0d2ef2f1 authored by SUDHIR KUMAR's avatar SUDHIR KUMAR

add API and the read

parents
#include "sorting.h"
#include<iostream>
#include<vector>
using namespace std;
int main(){
int n;
cin>>n;
vector<int>p;
vector<int>q;
for(int i=0;i<n;i++){
int k;
cin>>k;
p.push_back(k);
}
q=sort_custom(p);
for(int z=0;z<q.size();z++){
cout<<q[z]<<" ";
}
cout<<endl;
return 0;
}
#include<vector>
using namespace std;
vector<int> sort_custom( vector<int> );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment