Rescuers pulled out survivors caked in dark brown mud and helicopters lifted stranded people to safety Friday, as Nepal and China raced to respond to catastrophic flash floods that killed nearly 600 people and left almost 2,500 missing.