问题

Only after he had spent several nightsworking on the math problem _______ to wonder whether the problem was wronglyset.
A:to study
B:did he begin
C:then he began
D:so that he began
B:did he begin
C:then he began
D:so that he began
正确答案是: