问题

-Did you havea good time last night-Not at all.Someone kept talking loudly in the theatre, mefrom watching the movie.
A:havingprevented
B:to prevent
C:prevented
D:preventing
B:to prevent
C:prevented
D:preventing
正确答案是: