单项选择题

All flights ______ because of the terrible weather, they had to go there by train.

A.having been canceled
B.had been canceled
C.having canceled
D.were canceled