Rescuers pulled out survivors and helicopters lifted stranded people to safety as Nepal and China raced to respond after catastrophic flash floods killed hundreds of people and left more than 1,500 missing.