/*
*/
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
int n,m;
int main()
{
cin >> n >> m;
cout << (n - 1) * (m - 1) - 1 << endl;
return 0;
}
1205. 买不到的数目
于 2023-10-26 16:03:02 首次发布