问题

Only at that time ______ that he had made a lot of mistakes in his homework.
A:He realized
B:did he realize
C:he did realized
D:realized he
B:did he realize
C:he did realized
D:realized he
正确答案是: