Skip to content

Instantly share code, notes, and snippets.

@Ghastlcon Ghastlcon/math.cpp

Created Dec 9, 2017
What would you like to do?
#include <iostream>
#include <algorithm>
#include <cstdio>
using namespace std;
int main() //math.cpp
long long a, b;
freopen("" , "r", stdin );
freopen("math.out", "w", stdout);
cin >> a >> b;
cout << a * b - a - b << endl;
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.