Start 2024-01-27 08:30:00

1.27复习

End 2024-01-27 12:00:00
Contest is over.
Now 2024-05-21 00:54:42

B

include<bits/stdc++.h>

using namespace std; int main() { int a,n,i,j,s=0;

cin>>a>>n;
for(i=1;i<=n;i++)
for(j=1;j<=i;j++) s+=a*pow(10,j-1);
cout<<s<<endl;
return 0;

}


7iok  •  3个月前

The contest has ended.