Torrential rain caused deadly flooding and landslides across the country.