SP32529 NNS - Nearest Neighbor Search
Description
You are given N (N
Input Format
The first line contains three numbers - N, d and Q.
The next N lines contain d integers each - the coordinates of a point.
The next Q lines contain d integers each - the coordinates of a query point.
Output Format
Print the answer for each of the Q queries on separate lines.