arturia2e5@tg says to YSITD 要是寫全的話 public long factorial(int n) { long ret = 1; while (n > 1) ret *= (n--); return ret; }