What is wrong with this problem

#include
using namespace std;
int main() {
int b,c,d;
cin>>b;
if((b==1)||(b==2))
{
cout<<"-1";
}
else if(b%2==1)
{
c=((bb)-1)/2;
d=((b
b)+1)/2;
cout<<c<<" “<<d;
}
else if(b%2==0)
{
int e= c+d;
int f= c-d;
e=b*b/2;
f=2;
int g=(e+f)/2;
int h=(e-f)/2;
cout<<h<<” "<<g;
}
return 0;
}

@Kunalgoyal
Change datatype of variables b,c,d,e and f to long long int. Your code will work fine

@Kunalgoyal
Hey I can see you got 100 points for this question. Please mark it as resolved if you have no more doubt.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.