Hundreds of homes were left under water, roads were turned into rivers and winds of more than 80mph were recorded across parts of the UK.