Commit c35b8263 authored by LAKSHYA KUMAR's avatar LAKSHYA KUMAR

add API and data read

parents
#include <iostream>
#include "sorting.h"
using namespace std;
int main()
{
int n; cin>>n;
vector<int> v(n);
for(int i = 0; i < n; i++) cin >> v[i];
v = sort_custom(v);
for(int i = 0; i < n; i++) cout << v[i] << " ";
cout<<endl;
return 0;
}
\ No newline at end of file
#include <vector>
using namespace std;
vector<int> sort_custom(vector<int> a);
\ No newline at end of file
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