隐隐


私信TA

用户名:yinqy1

访问量:10390

签 名:

等  级
排  名 1902
经  验 2465
参赛次数 2
文章发表 13
年  龄 20
在职情况 学生
学  校 郑州成功财经学院
专  业 计算机科学与技术

  自我简介:

#include <stdio.h>

#include <math.h>

int main()

{

int i,j,s,a,k=0,b=0;

scanf("%d %d",&a,&j);

for(i=0;i<j;i++)

{

s=a*pow(10, i);

k=k+s;

b=b+k;

}

printf("%d",b);

return 0;

}


 

0.0分

1 人评分

看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:

编程语言转换

万能编程问答

代码解释器

  评论区