问题

Only when Lily walked into the office ______ that she had left the contract at home.
A:she realized
B:has she realized
C:she has realized
D:did she realize;
B:has she realized
C:she has realized
D:did she realize;
正确答案是: