标签:
typedef long long LL; LL deal(LL a, LL b) { LL ans= 1; while(b) { if(b & 1) ans *=a; b /= 2; a = a*a; } return ans; }
快速幂
原文地址:http://www.cnblogs.com/fengshun/p/5408579.html