More than 300 people were rescued from floodwaters in northeast Australia, with dozens of residents clinging to roofs, officials said on Monday.