which of the following sentences uses who or whom correctly

A: She is the person whom he had found sleeping in the library

B: the musical group whom won thee top prize are from my hometown

C: the author is the one who i saw at the bookstore today

D: against who did you think you would compete in the contest?