Pair Sum and Perfect Square

HDU - 7337