提交时间:2022-10-15 11:24:55

运行 ID: 60314

#include<bits/stdc++.h> using namespace std; int a,b,a1[5],b1[5]; int main(){ //freopen("J2.in","r",stdin); //freopen("J2.out","w",stdout); scanf("%d%d",&a,&b); a1[0]=a/10,a1[1]=a%10; b1[0]=b/10,b1[1]=b%10; printf("%d",(a1[0]+a1[1])*(b1[0]+b1[1])); return 0; }