文章
4
粉丝
11
获赞
2
访问
5.2k
#include <bits/stdc++.h> using namespace std; int a, n, res; int main() { cin >> a >> n; int c = a; for (int i = 1; i <= n; i ++) { res += a; a = a * 10 + c; } cout << res; return 0; }
登录后发布评论
暂无评论,来抢沙发