单项选择题

The teacher warned that whoever was caught () during the test would be punished.

A. cheat
B. cheating
C. to cheat
D. to be cheating