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

运行 ID: 60303

#include <bits/stdc++.h> using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); for(;ch<'0'||ch>'9';ch=getchar()) if(ch=='-') f=-1; for(;ch>='0'&&ch<='9';ch=getchar()) x=(x<<1)+(x<<3)+(ch^48); return x*f; } int a,b; int main(){ // freopen("J2.in","r",stdin); // freopen("J2.out","w",stdout); a=read(),b=read(); printf("%d\n",(a/10*(b/10))+(a%10*(b/10))+(a/10*(b%10))+(a%10*(b%10))); return 0; }