随笔分类 -  polya定理

摘要:/* * 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... 阅读全文
posted @ 2011-10-12 14:29 qingyezhu 阅读(272) 评论(0) 推荐(0)