ersknhsjv egkhtjbk hgx 路卡利欧 · 发布于 2025-01-13 · 浏览 484 回复 0 include <bits/stdc++.h> using namespace std; int main() { int a, n, x; x = 0; cin >> a >> n; int b = a; for (int i = 1; i <= n; i++) { x += a; a = a * 10 + b; } cout << x; return 0; }