> 其他 >
199个1999相互乘加200个2000相互乘加201个2001相互乘等于
人气:163 ℃ 时间:2020-04-08 22:23:03
解答
#include “stdio.h”
main()
{
int a=1,b=1,c=1;
int i,s;
for(i=1;i<=199;i++)
a*=1999;
for(i=1;i<=200;i++)
b*=2000;
for(i=1;i<=201;i++)
c*=2001;
s=a+b+c;
printf("%d\n",s);
}
此程序结果输出就是你要算的值~
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版