C语言有函数,需要头文件#include <math.h>用pow(2,n)就可以了!double result = pow(2,n); 相关文章: 2022-01-02 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23