#include using namespace std; void quicksort(short v[], short stanga, short dreapta) { short i, j, mijloc, aux; i=stanga; j=dreapta; mijloc=v[(stanga+dreapta)/2]; while(i<=j) { while(v[i]mijloc) j--; if(i<=j) { aux=v[i]; v[i]=v[j]; v[j]=aux; i++; j--; } } if(stanga