单项选择题

I ______ two hours on this math problem.

A.spent
B.paid
C.cost
D.taken