Don't use the definition of compact but rather a property of compact sets, the Bolzano Weierstrass theorem.
edit| this argument is wrong (thank you @PeterSzilas)
Suppose for contradiction that $A$ were compact. Since the sequence
$(\frac{1+n}{n})_{n \geqslant 1}$ is contained in $A$, its limit, $1$,
would also be in $A$.
But that would imply that there are $m,n \in \mathbb{N}\setminus
> \{0\}$ such that $1=\frac{m+n}{mn}$, ie $m+n = mn$. But then $$ m =
> mn -n = n(m-1)$$ which implies that $m=0$, a contradiction (not, since $m=n=2$ is a solution).
edit| consider this sequence instead :
The sequance $\big(\frac{n+n}{n^2} \big)_{n \geqslant 0}$ is a sequence of elements of $A$, which converges to $0$, which isn't an element of $A$. By contraposition, $A$ is hence not compact.