#abc296c. [abc296_c]Gap Existence

[abc296_c]Gap Existence

有一个长度为 nn 的数组 aa,给定一个数 xx,确定是否存在一组 (i,j)(i,j) 满足 aiaj=xa_i-a_j=x

Translated by

https://www.luogu.com.cn/user/399150