摘要: 题意:求A的B次方的后三位数字 思路1:常规求幂,直接取余求解 代码: #include<iostream> #include<cstdio> using namespace std; int main(){ int a,b; int ans; while(~scanf("%d%d",&a,&b)) 阅读全文
posted @ 2014-10-23 19:56 gongpixin 阅读(240) 评论(0) 推荐(0) 编辑