Commit 1998cd82 authored by SABBITHI NAREN RAHUL's avatar SABBITHI NAREN RAHUL

add API and data read

parent eaa4fb7a
#include<iostream>
#include<vector>
#include "sorting.h"
using namespace std;
int main(){
int n;
cin>>n;
vector<int>a;
for(int i=0;i<n;i++){
int x;cin>>x;
a.push_back(x);
}
vector<int> b=sort_custom(a);
for(vector<int>::iterator it=a.begin() ; it!=a.end() ; ++it){
cout<< *it<<" ";
}
cout<<endl;
}
#include<iostream>
#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