The most powerful storm to hit the country this year caused flash floods and pushed tens of thousands of people to evacuate their homes.