单项选择题

After searching for half an hour, she realized that her glasses______ on the table all the time:

A.were lain
B.had been lain
C.have been lying
D.had been lying