问题

By the time he got up, I ______ for two hours in thefactory.
A:have worked
B:worked
C:was working
D:had beenworking
B:worked
C:was working
D:had beenworking
正确答案是: