If for any pair of neighbouring sharks iii and jjj the product si⋅sjs_{i}·s_{j}si⋅sj is divisible by ppp
翻译应该是
如果相邻两个人的数的乘积可以由 ppp 整除
而不是
如果相邻两个人的数的乘积可以整除 ppp