单项选择题

This is the best way I have thought of()the problem.

A.to solve
B.solving
C.to be solving
D.solves