单项选择题

Mary's professor had her ______ paper many times before allowing her to present it to the committee.

A.rewritten
B.to rewrite
C.rewrite
D.rewriting