Hearsay involves using a claim from some other source that occurred outside the court or present room of enquiry in order to prove a point.
In these four examples, statement B "the report said..." is the example of hearsay as the whole statement relies on the accuracy of a report which we have not seen. The report could be substituted for a person such as "she said or he said". All other examples are direct claims made by the person being questioned. e.g. "I did x".