问题

I worked on the problem ____ a long time and I worked it out ____ myself ____ last.[ ]
A: for; by; at
B: in; with; on
C: on; by; in
D:for; for; at the
B: in; with; on
C: on; by; in
D:for; for; at the
正确答案是: