Checker comment "wrong answer Test 226: Expected -1, got a Tree !! (test case 226)" I have checked the -1 condition in the beginning
if(m<n || m>n*(n+1ll)/2ll)
{
cout<<"-1\n";
return;
}
Need Help for C. Divine Tree
Checker comment "wrong answer Test 226: Expected -1, got a Tree !! (test case 226)" I have checked the -1 condition in the beginning
if(m<n || m>n*(n+1ll)/2ll)
{
cout<<"-1\n";
return;
}