题目
2000个2相乘的积的末尾两位数是几?
提问时间:2020-12-20
答案
#include #include int fun(int N) {//计算2^N,N<=2000 int i,j; bool flag=1; int M=N*3/10+5; char a[605]; for(i=1;i=0;i--) putchar(a[i]); putchar('\n'); printf("该数共有%d位\n\n\n",j); return 1; } void main() { for(int i=1;i<=10;i++) fun(i); for(i=20;i<=2000;i*=10) fun(i); }//格式有点乱,全选后按键Alt+F8重排 运行结果: 2^1=2 该数共有1位 2^2=4 该数共有1位 2^3=8 该数共有1位 2^4=16 该数共有2位 2^5=32 该数共有2位 2^6=64 该数共有2位 2^7=128 该数共有3位 2^8=256 该数共有3位 2^9=512 该数共有3位 2^10=1024 该数共有4位 2^20=1048576 该数共有7位 2^200=1606938044258990275541962092341162602522202993782792835301376 该数共有61位 2^2000=1148130695274254524232833201177681984022317702088695200477642736825766261 39237031385665948631650626991844596463898746277344711896086305533142593135616665 31853912998914531228000068877914824004487142892699006348624478161546364638836394 73170260404663539709049965581623988089446296056233116495361642219703326813441689 08984458505602379484807914058900934776500429002716706625830522008132236281291761 26788331720659899539641812702177985840404215985318325154088943390209192055495778 35896720391600819572166305827553804255837260155283487864194320545089152757838826 25175435528800822842770817965453762184851149029376 该数共有603位
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 1氢氧化铝,碳酸氢钠的电离方程式?弱酸是分步电离,那盐和碱都是一次性电离吗?
- 2一度电能给1400毫安的电池充多少次电?
- 3意思只有我知道,老班长的意思是什么
- 480 percent of all homes in china have satellites TV ,offering as many as 50 channels offering 的句子成分
- 5654减199简便算法 432减297简便算法
- 622.5加4.8加17.5怎么简便计算
- 75公顷4000平方米写成小数是多少
- 8如果2次函数y=x(平方)+bx+1/16的图象顶点在X上,那么b=-1/4
- 9要写一篇论文《苏格拉底的成就》,请问需要参考哪些书呢?希望大家给些推荐!
- 10乙苯和1,3-二甲基苯是不是一种物质?
热门考点
- 1Please ______the classcoom A.take them for B.take them to 选什么?为什么?
- 2I’m looking for ways to meet people怎么翻译?
- 3How many people do you have to have been with not to remember any of this?
- 4he was brought up by a good family ___ values led him to join the anti-poverty organization.
- 5The house has many large rooms and there is a lovely garden翻译
- 6已知OB是∠AOC的平分线,OD是∠COE的平分线,如果∠AOE=130°,那么∠BOD是多少度?
- 7理想的风筝课文
- 8求直线xcosa+y+1=0的倾斜角范围,答案是【0,∏/4】U【3∏/4,∏)
- 9用英文谈谈你对金钱的态度.希望有中文翻译.
- 10my mother is washing the dishes in the kitchen改为同义句 my mother is _ _ _in the kitchen