提交时间:2022-10-15 11:28:21
运行 ID: 60363
#include<iostream> #include<cstdio> using namespace std; int main(){ long long a,b; cin>>a>>b; long long c=a*b,ans=0; while(c){ ans+=c%10; c/=10; } cout<<ans<<endl; }