Question 30
Suppose $r \geq 2$ is an integer, and let $m_{1}, n_{1}, m_{2}, n_{2}, \cdots, m_{r}, n_{r}$ be $2 r$ integers such that
$$
\left|m_{i} n_{j}-m_{j} n_{i}\right|=1
$$
for any two integers $i$ and $j$ satisfying $1 \leq i\lt j \leq r$. Determine the maximum possible value of $r$.
$$
\left|m_{i} n_{j}-m_{j} n_{i}\right|=1
$$
for any two integers $i$ and $j$ satisfying $1 \leq i\lt j \leq r$. Determine the maximum possible value of $r$.