Quote:

A, B, and C are being investigated . One of them committed a crime.

Here are their claims made during the investigation.

. . $\displaystyle \begin{array}{c}A \\ \hline \text{I did not do this} \\ \text{B did not do this} \end{array} \qquad\quad \begin{array}{c}B \\ \hline \text{A did not do this} \\ \text{C did it} \end{array} $ . . . $\displaystyle \begin{array}{c}C \\ \hline \text{I did not do this} \\ \text{A did it}\end{array}$

It was established that one of them lied twice, another one told the truth both times

and the third one lied once and told the truth once.

Who committed the crime?