哈哈哈在確認同好且長度相同後應該是要寫return(a.length()>b.length())或return(a.length()<b.length())
結果我忘記改加length還以為是條件式寫錯