提交时间:2022-10-15 11:26:36

运行 ID: 60343

#include<bits/stdc++.h> using namespace std; const int N =1e6+10; #define int long long signed main() { //freopen("J2.in","r",stdin); //freopen("J2.out","w",stdout); int n,m; cin>>n>>m; int s1=n%10,s2=n/10%10; int l1=m%10,l2=m/10%10; cout<<(s1+s2)*(l1+l2)<<endl; return 0; }