I am getting failed test cases in it … but I am not able to find the bug in it
Xor_profit_problem
@dhirenkinha in the inner for loop you need to initialize b to a+1, every time so the initialization condition of inner for loop cannot be blank.
If this solves your doubt mark it resolved.
@abhinavsingh but we also have to check for the condition when a=x and b=x… so for that ???
@abhinavsingh ohk ohk ohkk…I got my mistake … thank you