0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-20 08:05:26 +00:00
OI-codes/Luogu/P3951/P3951.cpp

9 lines
136 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
cout << a * b - a - b << endl;
}