单项选择题

The two scholars worked at the task of writing a preface to the new dictionary for three hours ______ last night.

A. at length
B. in full
C. on end
D. in time