#include <stdio.h>
#include <math.h>
main()
{
    int s=0,a,n,i,m=0;
    //a=2,n=4;
    scanf("%d,%d",&a,&n);
    for(i=1;i<=n;i++)
    {
        m=pow(10,i-1)+m;
        //printf("%d\n",m);
        s=s+m;
     } 
    printf("%d",a*s);

    getchar();
 }

 

相关文章:

  • 2022-12-23
  • 2021-09-20
  • 2021-07-29
  • 2022-12-23
  • 2022-02-18
猜你喜欢
  • 2021-10-04
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2021-12-17
相关资源
相似解决方案