HDU6063 [2017多校联合3] RXD and math 打表 快速幂
# include //万能头文件,编译时间长
using namespace std;
typedef long long LL;
const int INF = 0x3f3f3f3f;
const int Q = 1e9+7;
LL quick_power (LL x, LL y)//快速幂模板
{
LL ret = 1;
while (y > 0)
{
原创
2017-08-01 20:47:27 ·
296 阅读 ·
0 评论