How did the U.S. Constitution solve a problem created by the Articles of Confederation?

AIt allowed for government to enforce laws and settle disputes.

BIt allowed state legislatures to choose their representatives.

CIt required Congress to enforce its laws.

DIt required unanimous consent of states to be amended.