用迴圈方法計算階乘. 如果是用 for 迴圈計算 ... return 0; ... 由於階乘值增長非常快速,所以需要使用 unsigned long long int 去應付大值,免得出現算數溢位錯誤喔!
確定! 回上一頁