TK的小站

“快速幂”

AcWing刷题笔记-27-数值的整数次方

题目描述实现函数 double Power(double base, int exponent),求 base 的 exponent 次方。 不得使用库函数,同时不需要考虑大数问题。 初步思路...