0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-27 09:51:59 +00:00
OI-codes/Luogu/problem/P3951/P3951.cpp
2021-01-02 15:30:52 +08:00

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;
}