问题

It was____ computer games that cost the boy lot of time that he ought to have spent on his lessons.
A:to have played
B:playing
C:played
D:having played
B:playing
C:played
D:having played
正确答案是: