I am sorry if anyone feel this thread violates the rules & regulations of on-going contest and he/she may remove this thread.
Problem Link : http://www.codechef.com/DEC14/problems/XORSUB
I am unable to understand the concept of subsets and in problem XORSUB from December Challenge.
F({}) = 0
F({1}) = 1
F({1,2}) = 3
F({1,3}) = 2
F({1,2,3}) = 0
F({2}) = 2
F({2,3}) = 1
F({3}) = 3
As this is given in problem explanation part, i an unable to understand how to derive the values of F§.
Please help!!