Torrential rain set off by an approaching tropical storm swamped eastern Philippine cities and towns overnight in widespread flooding that trapped people, some on their roofs, and sparked frantic appeals for rescue boats and trucks, officials said Wednesday.