Characteristics of a situation where a deadweight loss is present?
A) Perfect competition in the market
B) Market equilibrium with no externalities
C) Price ceilings and price floors
D) Inefficient allocation of resources.