问题

Much to my surprise, it _____ raining by the time I wanted to go out
A:had stopped
B:has stopped
C:stopped
D:stop
B:has stopped
C:stopped
D:stop
正确答案是: