摘要:/* * hdu3923.c * * Created on: 2011-9-20 * Author: bjfuwangzhu */#include<stdio.h>#include<math.h>#define LL long long#define nnum 1000000007LL x, y;LL modular_exp(int a, int b) { LL res, temp; res = 1 % nnum,temp = a % nnum; while (b) { if (b & 1) { res = res * temp...
阅读全文