Only when we hurried to the airport ______the flight was cancele

Only when we hurried to the airport ______the flight was canceled.

A.we found

B.did we find

C.have we found

D.we have found

正确答案是B