Tag: sort

11
Jun
2017

Hackerearth Min-Max

code: #include<iostream> #include<cstdio> using namespace std; int main() { int n,flag=0; cin>>n; int a[n]; for(int i=0; i<n;…