Commit 03d6ed95 authored by Neeraj Kerkar's avatar Neeraj Kerkar

add API and data read

parents
#include "sorting.h"
#include<vector>
#include<iostream>
using namespace std;
int main () {
int n,e;
vector<int> a;
cin >> n;
for(int i=0;i<n;i++){
cin >> e;
a.push_back (e);
}
a = sort_custom(a);
cout << endl;
for(int i=0;i<a.size();i++){
cout << a[i] << " ";
}
cout << endl;
}
#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