有一个长度为 nnn 的数组 aaa,给定一个数 xxx,确定是否存在一组 (i,j)(i,j)(i,j) 满足 ai−aj=xa_i-a_j=xai−aj=x。
Translated by
使用您的 gxyz 通用账户