摘要: /*This Code is Submitted by billforum for Problem 2901 at 2012-05-24 16:25:02*/#include<iostream>#include<stdio.h>#include<string.h>using namespace std;long long cal(long long x,long long b,long long a){ long long c=x,tmp=1; while(b>0) { if(b&1==1) tmp=(tmp*c)%a; ... 阅读全文
posted @ 2012-05-24 16:33 wuzhibin 阅读(145) 评论(0) 推荐(0)