NOWSHERA, Pakistan (AP) — The death toll in the massive flooding in Pakistan surged past 800 as floodwaters receded Saturday in the hard-hit northwest, an official said. The damage to roads, bridges and communications networks hindered rescuers, while the threat of disease loomed as some evacuees arrived in camps with fever, diarrhea and skin problems.

Even for a country used to tragedy — especially deadly suicide attacks by Taliban militants — the scale of this past week's flooding has been shocking. Monsoon rains come every year, but rarely with such fury. The devastation came in the wake of the worst-ever plane crash in Pakistan, which killed 152 people in Islamabad on Wednesday.

In neighboring eastern Afghanistan, floods killed 64 people and injured 61 others in the past week, while destroying hundreds of homes and huge stretches of farmland, according to Matin Edrak, director of the Afghan government's disaster department.

As rivers swelled in Pakistan's northwest, people sought ever-shrinking high ground or grasped for trees and fences to avoid getting swept away. Buildings simply crumbled into the raging river in Kalam, a town in the northern part of the Swat Valley, Geo TV showed Saturday.

Reports coming in from districts around the northwest, where such flooding has not been seen since 1929, showed at least 800 people had died, said Mian Iftikhar Hussain, the region's information minister. The U.N. estimated that some 1 million people nationwide were affected by the disaster, though it didn't specify exactly what that meant.

Floodwaters were receding in the region, and many people remain missing, Hussain said.

Over 30,000 Pakistani army troops engaged in rescue and relief work had evacuated 19,000 trapped people by Saturday night, said army spokesman Maj. Gen. Athar Abbas.

"The level of devastation is so widespread, so large," he said. "It is quite possible that in many areas there is damage, deaths, which may not have been reported."

In the Nowshera area, scores of men, women and children sat on roofs in hopes of air or boat rescues. Many had little more than the clothes on their backs.

"There are very bad conditions," said Amjad Ali, a rescue worker in the area. "They have no water, no food."

A doctor treating evacuees at a small relief camp in Nowshera said some had diarrhea and others had marks appearing on their skin, causing itching. Children and the elderly seemed to have the most problems, Mehmood Jaa said.

"Due to the floodwater, they now have pain in their bodies and they are suffering from fever and cough," Jaa told The Associated Press.

In the town Charsadda, Nabi Gul, who estimated he was around 70, looked at a pile of rubble where his house once stood.

"I built this house with my life's earnings and hard work, and the river has washed it away," he said in a trembling voice. "Now I wonder, will I be able to rebuild it? And in this time, when there are such great price hikes?"

Another resident of Charsadda complained of what he considered a lackluster government response.

"Nobody has offered us for help. We have got no help," said Awal Sher, 60. "Everything is destroyed. Inside, outside — everything is broken."

In eastern Afghanistan, Edrak said floods destroyed about 800 homes and hundreds of acres (hectares) of farm land, damaged hydropower dams and partially destroyed more than 500 other houses. Most of the flooding was in eight provinces, including Kabul, he said.

Rescuers were using army helicopters, heavy trucks and boats to try to reach flood-hit areas. Thousands of homes and roads were destroyed, and at least 45 bridges across the northwest were damaged, the U.N. said.

The American Embassy in Islamabad announced the United States would be providing 12 prefabricated steel bridges to temporarily replace some of the spans damaged by the water. It also is sending rescue boats, water filtration units and some 50,000 meals to be distributed to those in stricken areas, the embassy said in a statement.

Communications networks were sketchy, and the rescue effort was further hampered by the washed-out roads and bridges, said Lutfur Rehman, a government official in the northwest.

"Our priority is to transport flood-affected people to safer places. We are carrying out this rescue operation despite limited resources," he said.

Qamar-uz-Zaman Chaudhry, the head of the Pakistan Meteorological Department, said that no more rain was expected in the next few days for the northwest. But Punjab province in the east, Sindh province in the south, and Pakistan's side of the disputed Kashmir region all could expect a lashing over the next three or four days, he said.

Flooding has already affected some of those regions, with more than 20 people dying in Kashmir.

___

Khan reported from Peshawar. Deb Riechmann in Kabul, Afghanistan, contributed to this report.