单项选择题

It took me a whole hour to solve the problem. ()

A work at
B. work on
C. work out
D. work over