As it turned out to be a problem of no importance , we     so much time looking into it . 
#62607
A
needn’t spend
B
didn’t have to spend
C
needn’t have spent
D
oughtn’t to spend