单项选择题

The teacher asked a very difficult question, but finally Ted______ a satisfactory answer.

A. came with
B. came up
C. came up with
D. came up for