inta1 = Integer.parseInt(input[i]+input[j]);
inta2 = Integer.parseInt(input[j]+input[i]);
你这个是让两个数相加然后转换为字符串,而且应该用Long不是Integer。这样就能过70%了