The death toll from flash floods and landslides in Indonesia has risen to 31, an official said on Sunday, as search crews scour devastated villages in the hope of finding survivors.