单项选择题

I worked so late in the office last night that I hardly had time ________ the last bus.

A. to have caught
B. to catch
C. catching
D. having caught