I met a question in Bondy and Murty’s Graph theory (§1.5.13)
The adjacency matrix of a digraph $D$ is the $n \times n$ matrix $\mathbf{A}_D = (a_{uv})$, where $a_{uv}$ is the number of arcs in $D$ with tail $u$ and head $v$. Let $\mathbf{A}$ be the adjacency matrix of a tournament on $n$ vertices. Show that $\operatorname{rank}\mathbf{A}=n-1$ if $n$ is odd and $\operatorname{rank}\mathbf{A}=n$ if $n$ is even.
which I think is completely wrong. However, are there some similar conclusions related to the rank of $\mathbf{A}$? For example, when is the rank of $\mathbf{A}$ equal to $n-1$?