After several sleepless nights, Mr. Smith ______ a perfect solution to the problems.
#35950
A
kept up with
B
put up with
C
came up with
D
ended up with