提交时间:2022-10-15 11:29:25
运行 ID: 60392
#include<bits/stdc++.h> using namespace std; int a,b,c,sum; int main(){ cin>>a>>b; c=a*b; while(c){ sum+=c%10; c/=10; } cout<<sum<<endl; }