提交时间:2024-01-25 08:29:52

运行 ID: 127255

#include<bits/stdc++.h> using namespace std; int main() { long long temp=1,a,b,s=0; cin>>a>>b; for(int i=1;i<=b;i++) { s+=temp*a+temp/10*a; temp*=10; } cout<<s; }