After struggling with C++ typedef and define, I've tried myself some code and here it is:
#include <iostream>
#include <string>
#define sub(a,b) a-b
using namespace std;
int main()
{
int n;
cin >> n;
cout << n*sub(5*2,3*3)+1;
}
I've find that if n=3
, it'll give 22
and the equation is
3*5*2-3*3+1=22;
I can't imagine the mechanism of it, can someone help me please?