#include #include void sort(int n,int * w){ int i,j,mini,tmp; for(i=0;i