不是什么很重要的问题,就是有点好奇
#include<cmath> ........ int a,b; cin>>a>>b; pow(a,b);
然后a的b次方是怎么算的啊,是把a乘一次一次b次还是它自己就有个快速幂啥的?