问题

been puzzled over the problem for over an hourwithout any result, ____ all at once the solution flashed across my mind.

A:while
B:when
C:then
D:as
正确答案是: