링크 : https://www.acmicpc.net/problem/2163
#include <iostream> #include <vector> using namespace std; int main() { int N = 0, M = 0; cin >> N >> M; cout << N * M - 1; return 0; }