Days of heavy monsoon rains inundated vast areas, leaving thousands stranded and many clinging to rooftops waiting for help.