Officials said heavy rains from Typhoon Longwang on Sunday caused flooding and landslides in the Fujian province capital city , washing away two training school barracks that housed police recruits .