english-16 Maximum Sum Not Exceeding K
描述
Given N numbers, find two different numbers from them such that the sum of the two numbers is maximum but not exceeding K.
输入
First line: two positive integers N (N <= 1000) and K (K <= 1000000).Second line: N positive integers (<= 1000000).
输出
Two integers.
样例输入
样例输出
限制