2 test cases failing

test case 3 and 4 are failing

@kartik-malik share your code so that i can look.(using cb ide)

#include using namespace std; int main() { int a,m,n,h,b,p; cin>>a; if (a%2==0) { m=a/2; n=1; p=2mn;b=mm-nn;h=mm+nn; if(pp+bb==hh){ if(b<p){ cout<<"-1"; } else cout<<b<<" “<<h; } else { cout<<”-1"; } } else { m=(a+1)/2; n=(a-1)/2; p=2mn;b=mm-nn;h=mm+nn; if(pp+bb==hh){ if(p<b) cout<<"-1"; else cout<<p<<" “<<h; } else { cout<<”-1"; } } return 0; }

@kartik-malik provide it using cb ide how can i look if you provide like this

@kartik-malik line 6 use long long int
dont forget to hit like and mark resolved if cleared :smiley:

i have shared the code link

@kartik-malik