问题

I failed again in the examination and only then_______how much time I had wasted.
A:I realized
B:I had realized
C:did I realize
D:had I realized
B:I had realized
C:did I realize
D:had I realized
正确答案是: