Containers with compartments formed by erecting one blank