HDU4576 A very hard mathematic problem(很好的搜索)

#include<iostream> #include<cmath> #include<cstdio> using namespace std; typedef long long ll; ll power(ll a,ll n){ ll ans=1; while(n>0){ if(n&1) ans*=a; a=a*a;//a=a的 2的i次方
相關文章
相關標籤/搜索