我第一次也是9,因为if(n>10 || password.empty()) 这种情况要去掉。