I have seen many problems (involving queries) in which we are given numbers for each query and we need to perform XOR of the given numbers with the result of previous query to obtain the real values to perform next query.
For example in DEC18A, we have CBFEAST question having the lines "The value of c for this query is computed as c=Cā ans, where ans is the answer to the previous query"
Similarly, I seem many problems like.
Why this is done?
Why we are not given the original numbers simply?
Or do they involve some trick in solving?