Sum is K
1000ms 65536K
描述:
Given a sequence of N numbers. Find different numbers A and B in the sequence so that the sum of A and B equals to K.
输入:
First line: two positive integers N (N <= 1000) and K (K <= 1000000).Second line: N positive integers (<= 1000000).