Floods and landslides triggered by days of torrential rain in the capital cities of Ghana and Ivory Coast have left at least 24 people dead, authorities said Tuesday, as emergency workers continued to pull hundreds of stranded residents from submerged buildings.