文章
285
粉丝
20
获赞
888
访问
321.0k
#include <iostream>
using namespace std;
typedef long long LL;
int main(){
int x,n;
cin >> x >> n;
LL ans = 0,t = 0;
for(int i = 1;i <= n;i ++){
t = t * 10 + x;
ans = ans + t;
}
cout << ans << endl;
return 0;
}
登录后发布评论
暂无评论,来抢沙发