@Dum, alright.
And could you please explain "find the minimum number of values you can xor with" , this statement with respect to the example that you gave earlier.
@Dum, i think i have got a catch to it but im not sure about it.
Can i pm you my approach and you could confirm if i am on the right track?
and thanks again.
@lentmo
i will give you the case where your code fails
you need to check your code
sry its harsh but i should also solve next questions right.
and checking code is difficult
If this is a CodeChef challenge, you should know that the CodeChef adjudicators are aware that people are using this forum to cheat, and that they have disqualified people for doing so in the past.