add API and data read

parent 7b7629d3
#include "sorting.h"
#include <iostream>
using namespace std;
int main(){
int n;
cin>>n;
vector<int> inp(n),vec1;
for (int i=0;i<n;i++) cin>>inp[i];
out=sort_custom(inp);
for (int i=0;i<n;i++) cout<<out[i]<<" ";
return 0;
}
\ 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