0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 17:48:46 +00:00
OI-codes/Luogu/problem/P3951/P3951.cpp

9 lines
136 B
C++
Raw Normal View History

2020-11-29 10:15:27 +00:00
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
cout << a * b - a - b << endl;
}