I regret _____ hard at school, or I would have succeeded in passing the exam.
#98847
A
not to work
B
having not worked
C
to have not worked
D
not having worked