Cao and Wei divorced, with only one residence between them and no other housing. The court awarded the house to Cao, but Cao was required to pay corresponding compensation to Wei to protect Wei's housing rights. The court also considered that Cao was raising minor children and gave appropriate consideration in the compensation amount.