四、設g, h, n為正整數,定義x ≡ g h mod n,其中x為g h 除以n的餘數。請寫一個遞迴( recursive)的C/C++函式在給定的g, h, n下來計算x,其中h, n可以達到226 - 1。
確定! 回上一頁