问题

ome books badly needed _____, shewent to the bookstore hurriedly.
A:to buy
B:buying
C:bought
D:having bought
B:buying
C:bought
D:having bought
正确答案是: