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

运行 ID: 60378

#include <bits/stdc++.h> using namespace std; int main() { int a , b; scanf( "%d%d" , &a , &b ); int x1 = a % 10 , x2 = a / 10 , y1 = b % 10 , y2 = b / 10; printf( "%d\n" , x1 * y1 + x1 * y2 + x2 * y1 + x2 * y2 ); return 0; }