Flash floods triggered by heavy rains have caused widespread destruction across vast swathes of the country.