 /* 
 * INPUT:
 * m: total num of points
-* m is in [10, 1000]
 * n: n dimensions
-* n is in [1,1000]
 * k: num of nearest points
-* k is in [1,10]
 * V: point coordinates
-* the integer elements are in [-5,5]
 * OUTPUT:
 * out: k nearest neighbors
 */

void showD(int m, int *D)
{
	int i,j;
printf("D:\n");
	for(i=0; i<m; i++)
	{
		for(j=0; j<m; j++)

			}	
		}    	
	}        	
	printf("D:\n");
}            	

void showResult(int m, int k, int *out)
