Last case not passed

#include
using namespace std;
#define ll long long
int main() {
ll n;
cin>>n;
if(n%2==0){
ll n1,n3;
n1=(nn-4)/4;
n3=(n
n+4)/4;
if((n3n3)==(n1n1)+(nn)) cout<<n1<<" “<<n3;
else cout<<”-1";
}else if(n%2!=0){
ll n2,n3;
n2=(n
n-1)/2;
n3=(nn+1)/2;
if((n3
n3)==(n2n2)+(nn)) cout<<n2<<" “<<n3;
else cout<<”-1";

}
return 0;

}

HI @neelrai906

i see that u pass passed all test cases other the most recent submission do i need to provide any further guidance?

1 Like

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.