#include #include #include int main(void) { int numofpoint; scanf("%d",&numofpoint); long long int pointlist[numofpoint]; for(int i=0;ipointlist[j]) { int tmp=pointlist[i]; pointlist[i]=pointlist[j]; pointlist[j]=tmp; } } } int min=9999999; for(int i=0;i